Nginx Module - add hive support

This commit is contained in:
Mike Reeves
2019-03-14 09:35:45 -04:00
parent d589a7ac73
commit 6e29ad90c7
2 changed files with 24 additions and 0 deletions

View File

@@ -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 {
}

View File

@@ -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 {
}