diff --git a/installer/etc/nginx/tpotweb.conf b/installer/etc/nginx/tpotweb.conf index b4990cc2..e24cffde 100644 --- a/installer/etc/nginx/tpotweb.conf +++ b/installer/etc/nginx/tpotweb.conf @@ -111,7 +111,21 @@ server { rewrite /kibana/(.*)$ /$1 break; } - ### Head plugin + ### ES + location /es/ { + proxy_pass http://localhost:64298/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; + proxy_redirect off; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-NginX-Proxy true; + rewrite /es/(.*)$ /$1 break; + } + + ### Head standalone location /myhead/ { proxy_pass http://localhost:64302/; proxy_http_version 1.1; diff --git a/installer/usr/share/nginx/html/navbar.html b/installer/usr/share/nginx/html/navbar.html index 5d5b7439..5b89dfbe 100644 --- a/installer/usr/share/nginx/html/navbar.html +++ b/installer/usr/share/nginx/html/navbar.html @@ -11,8 +11,8 @@