mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
Nginx Module - add hive support
This commit is contained in:
@@ -136,6 +136,18 @@ http {
|
||||
|
||||
}
|
||||
|
||||
location /thehive/ {
|
||||
rewrite /thehive/(.*) /$1 break;
|
||||
proxy_pass http://{{ masterip }}:9000/;
|
||||
proxy_read_timeout 90;
|
||||
proxy_connect_timeout 90;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Proxy "";
|
||||
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
location = /40x.html {
|
||||
}
|
||||
|
||||
@@ -136,6 +136,18 @@ http {
|
||||
|
||||
}
|
||||
|
||||
location /thehive/ {
|
||||
rewrite /thehive/(.*) /$1 break;
|
||||
proxy_pass http://{{ masterip }}:9000/;
|
||||
proxy_read_timeout 90;
|
||||
proxy_connect_timeout 90;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Proxy "";
|
||||
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
location = /40x.html {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user