NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
pass only the request path in X-Original-URL (#24602)
Josh Hawkins33cb8d987d3b
diff --git a/docker/main/rootfs/usr/local/nginx/conf/auth_location.conf b/docker/main/rootfs/usr/local/nginx/conf/auth_location.confindex 285a3d81b0..619a2b3ff1 100644--- a/docker/main/rootfs/usr/local/nginx/conf/auth_location.conf+++ b/docker/main/rootfs/usr/local/nginx/conf/auth_location.conf@@ -14,7 +14,7 @@ location /auth {proxy_pass_request_headers off;# Pass info about the requestproxy_set_header X-Original-Method $request_method;- proxy_set_header X-Original-URL $scheme://$http_host$request_uri;+ proxy_set_header X-Original-URL $request_uri;proxy_set_header X-Server-Port $server_port;proxy_set_header Content-Length "";# Pass along auth related infodiff --git a/docker/main/rootfs/usr/local/nginx/conf/proxy.conf b/docker/main/rootfs/usr/local/nginx/conf/proxy.confindex a3aacc3095..7ab5b58d15 100644--- a/docker/main/rootfs/usr/local/nginx/conf/proxy.conf+++ b/docker/main/rootfs/usr/local/nginx/conf/proxy.conf@@ -2,7 +2,7 @@proxy_set_header Host $host;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection "Upgrade";-proxy_set_header X-Original-URL $scheme://$http_host$request_uri;+proxy_set_header X-Original-URL $request_uri;proxy_set_header X-Forwarded-Proto $scheme;proxy_set_header X-Forwarded-Host $http_host;proxy_set_header X-Forwarded-URI $request_uri;