mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-13 04:32:48 +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;
|
||||
|
||||
@@ -72,7 +72,5 @@ so-kibana:
|
||||
- /opt/so/log/kibana:/var/log/kibana:rw
|
||||
- /opt/so/conf/kibana/custdashboards:/usr/share/kibana/custdashboards:ro
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
- /etc/pki/masterssl.crt:/etc/pki/server.crt:ro
|
||||
- /etc/pki/masterssl.key:/etc/pki/server.key:ro
|
||||
- port_bindings:
|
||||
- port_bindings:
|
||||
- 0.0.0.0:5601:5601
|
||||
|
||||
Reference in New Issue
Block a user