From 0c9e3357613b9d60a5b1e6fd48b8dbcbe661b952 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 10 Sep 2018 19:58:25 +0200 Subject: motion proxy --- odin.nix | 4 ++-- 1 file 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 @@ 2010 2011 # notmuch-tcp 5001 # iperf ]; - allowedTCPPortRanges = [ { from = 8080; to = 8080; } # motion - ]; allowedUDPPorts = [ 137 138 # samba ]; allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh @@ -481,6 +479,8 @@ locations = { "/bar/".proxyPass = "http://bar/"; + "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080"; + "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081"; }; }; -- cgit v1.2.3