Elastic Cross Cluster Prep

This commit is contained in:
Mike Reeves
2018-10-11 15:45:25 -04:00
parent d977bea980
commit 7982f8ffff
4 changed files with 86 additions and 7 deletions

View File

@@ -83,11 +83,11 @@ http {
# Load configuration files for the default server block.
#include /etc/nginx/default.d/*.conf;
location / {
try_files $uri $uri.html /index.html;
}
#location / {
# try_files $uri $uri.html /index.html;
# }
location /so-kibana {
location / {
proxy_pass http://{{ masterip }}:5601/;
proxy_read_timeout 90;
proxy_connect_timeout 90;
@@ -95,7 +95,6 @@ http {
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;
}