summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-09-10 19:58:25 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-09-10 19:58:25 +0200
commit0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952 (patch)
tree8b75cbf6c19893ca452837cb58ac4170c47c06e0 /odin.nix
parent533b2c3eed315e70d822536bb49cc913e5fa02e1 (diff)
downloadnixos-0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952.tar
nixos-0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952.tar.gz
nixos-0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952.tar.bz2
nixos-0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952.tar.xz
nixos-0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952.zip
motion proxy
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/odin.nix b/odin.nix
index 1d0e6d8f..406387ed 100644
--- a/odin.nix
+++ b/odin.nix
@@ -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