mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-26 09:53:30 +01:00
Core Module - Add rewrites
This commit is contained in:
@@ -116,7 +116,7 @@ nginxtmp:
|
|||||||
# Start the core docker
|
# Start the core docker
|
||||||
so-coreimage:
|
so-coreimage:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: docker pull --disable-content-trust=false soshybridhunter/so-core:HH1.0.7
|
- name: docker pull --disable-content-trust=false soshybridhunter/so-core:HH1.1.0
|
||||||
|
|
||||||
so-core:
|
so-core:
|
||||||
docker_container.running:
|
docker_container.running:
|
||||||
|
|||||||
@@ -164,6 +164,7 @@ http {
|
|||||||
proxy_set_header Proxy "";
|
proxy_set_header Proxy "";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location /sensoroni/ {
|
location /sensoroni/ {
|
||||||
auth_basic "Security Onion";
|
auth_basic "Security Onion";
|
||||||
auth_basic_user_file /opt/so/conf/nginx/.htpasswd;
|
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/ {
|
location /sensoroniagents/ {
|
||||||
proxy_pass http://{{ masterip }}:9822/;
|
proxy_pass http://{{ masterip }}:9822/;
|
||||||
proxy_read_timeout 90;
|
proxy_read_timeout 90;
|
||||||
|
|||||||
Reference in New Issue
Block a user