From ab3a7aec0017f4a2a2d92d1fbdba18f6253c4462 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 22 Jul 2019 12:57:58 -0400 Subject: [PATCH] Core Module - Fix the auth for master --- salt/common/nginx/nginx.conf.so-master | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/salt/common/nginx/nginx.conf.so-master b/salt/common/nginx/nginx.conf.so-master index aa4fff1d1..1f4fceffa 100644 --- a/salt/common/nginx/nginx.conf.so-master +++ b/salt/common/nginx/nginx.conf.so-master @@ -141,6 +141,9 @@ http { } location /thehive/ { + satisfy any; + allow {{ masterip }}; + deny all; auth_basic "Security Onion"; auth_basic_user_file /opt/so/conf/nginx/.htpasswd; proxy_pass http://{{ masterip }}:9000/thehive/; @@ -177,7 +180,7 @@ http { proxy_set_header Proxy ""; } - + location /kibana/app/sensoroni/ { rewrite ^/kibana/app/sensoroni/(.*) /sensoroni/$1 permanent; }