diff --git a/salt/nginx/etc/nginx.conf b/salt/nginx/etc/nginx.conf index cafa583b5..bfde1dd53 100644 --- a/salt/nginx/etc/nginx.conf +++ b/salt/nginx/etc/nginx.conf @@ -277,6 +277,7 @@ http { } location /nodered/ { + auth_request /auth/sessions/whoami; proxy_pass http://{{ manager_ip }}:1880/; proxy_read_timeout 90; proxy_connect_timeout 90; @@ -290,6 +291,7 @@ http { } location /playbook/ { + auth_request /auth/sessions/whoami; proxy_pass http://{{ manager_ip }}:3200/playbook/; proxy_read_timeout 90; proxy_connect_timeout 90; @@ -346,6 +348,7 @@ http { } location /soctopus/ { + auth_request /auth/sessions/whoami; proxy_pass http://{{ manager_ip }}:7000/; proxy_read_timeout 300; proxy_connect_timeout 300;