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;
|
try_files $uri $uri.html /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /app/kibana {
|
location /so-kibana {
|
||||||
proxy_http_version 1.1;
|
proxy_pass http://{{ masterip }}:5601/;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_read_timeout 90;
|
||||||
proxy_set_header Connection 'upgrade';
|
proxy_connect_timeout 90;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_cache_bypass $http_upgrade;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_pass http://{{ masterip }}:5601/app/kibana;
|
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;
|
error_page 404 /404.html;
|
||||||
|
|||||||
@@ -72,7 +72,5 @@ so-kibana:
|
|||||||
- /opt/so/log/kibana:/var/log/kibana:rw
|
- /opt/so/log/kibana:/var/log/kibana:rw
|
||||||
- /opt/so/conf/kibana/custdashboards:/usr/share/kibana/custdashboards:ro
|
- /opt/so/conf/kibana/custdashboards:/usr/share/kibana/custdashboards:ro
|
||||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||||
- /etc/pki/masterssl.crt:/etc/pki/server.crt:ro
|
- port_bindings:
|
||||||
- /etc/pki/masterssl.key:/etc/pki/server.key:ro
|
|
||||||
- port_bindings:
|
|
||||||
- 0.0.0.0:5601:5601
|
- 0.0.0.0:5601:5601
|
||||||
|
|||||||
Reference in New Issue
Block a user