diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-10 19:58:25 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-10 19:58:25 +0200 |
| commit | 0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952 (patch) | |
| tree | 8b75cbf6c19893ca452837cb58ac4170c47c06e0 | |
| parent | 533b2c3eed315e70d822536bb49cc913e5fa02e1 (diff) | |
| download | nixos-0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952.tar nixos-0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952.tar.gz nixos-0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952.tar.bz2 nixos-0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952.tar.xz nixos-0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952.zip | |
motion proxy
| -rw-r--r-- | odin.nix | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -84,8 +84,6 @@ | |||
| 84 | 2010 2011 # notmuch-tcp | 84 | 2010 2011 # notmuch-tcp |
| 85 | 5001 # iperf | 85 | 5001 # iperf |
| 86 | ]; | 86 | ]; |
| 87 | allowedTCPPortRanges = [ { from = 8080; to = 8080; } # motion | ||
| 88 | ]; | ||
| 89 | allowedUDPPorts = [ 137 138 # samba | 87 | allowedUDPPorts = [ 137 138 # samba |
| 90 | ]; | 88 | ]; |
| 91 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh | 89 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh |
| @@ -481,6 +479,8 @@ | |||
| 481 | 479 | ||
| 482 | locations = { | 480 | locations = { |
| 483 | "/bar/".proxyPass = "http://bar/"; | 481 | "/bar/".proxyPass = "http://bar/"; |
| 482 | "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080"; | ||
| 483 | "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081"; | ||
| 484 | }; | 484 | }; |
| 485 | }; | 485 | }; |
| 486 | 486 | ||
