From 8456878a5b7c64c33fb9374f4542f2f84962c42f Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Tue, 9 Aug 2016 03:26:08 +0000 Subject: [PATCH] tweak /ui/ location --- installer/etc/nginx/tpotweb.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/installer/etc/nginx/tpotweb.conf b/installer/etc/nginx/tpotweb.conf index 95a79ae0..7b26a386 100644 --- a/installer/etc/nginx/tpotweb.conf +++ b/installer/etc/nginx/tpotweb.conf @@ -117,16 +117,14 @@ server { ### ui-for-docker location /ui { - proxy_pass http://localhost:64299; + proxy_pass http://127.0.0.1:64299; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection ""; + proxy_set_header Connection $http_connection; proxy_set_header Host $host; proxy_redirect off; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; rewrite /ui/(.*)$ /$1 break; } - ### web tty location /wetty { proxy_pass http://127.0.0.1:64300/wetty; @@ -154,3 +152,4 @@ server { } } +