Core Module - Add rewrites

This commit is contained in:
Mike Reeves committed 2019-07-17 10:23:17 -04:00
1 parent 582713d027
commit b83efb51ef
2 files changed
+14 -1

No files matched your search

+13
View File
@@ -164,6 +164,7 @@ http {
proxy_set_header Proxy "";
}
location /sensoroni/ {
auth_basic "Security Onion";
auth_basic_user_file /opt/so/conf/nginx/.htpasswd;
@@ -177,6 +178,18 @@ http {
}
location /kibana/app/sensoroni/ {
rewrite ^/kibana/app/sensoroni/(.*) /sensoroni/$1 permanent;
}
location /kibana/app/fleet/ {
rewrite ^/kibana/app/fleet/(.*) /fleet/$1 permanent;
}
location /kibana/app/soctopus/ {
rewrite ^/kibana/app/soctopus/(.*) /soctopus/$1 permanent;
}
location /sensoroniagents/ {
proxy_pass http://{{ masterip }}:9822/;
proxy_read_timeout 90;