mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 11:42:50 +01:00
Common Module - Add SSL to Kibana
This commit is contained in:
@@ -87,13 +87,16 @@ http {
|
||||
try_files $uri $uri.html /index.html;
|
||||
}
|
||||
|
||||
location /app/kibana {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_pass http://{{ masterip }}:5601/app/kibana;
|
||||
location /so-kibana {
|
||||
proxy_pass http://{{ masterip }}:5601/;
|
||||
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 "";
|
||||
rewrite ^/so-kibana/(.*)$ /$1 break;
|
||||
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
|
||||
Reference in New Issue
Block a user