diff --git a/nginx.conf b/nginx.conf index 321ea98f..43335b5c 100644 --- a/nginx.conf +++ b/nginx.conf @@ -81,13 +81,15 @@ server { } location /besure/ { - proxy_pass http://ngsk.tech:39001/besure/; - 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_pass http://ngsk.tech:39001:9000/; + 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 X-Forwarded-Proto $scheme; + proxy_http_version 1.1; + proxy_buffering off; } - location / { root /usr/share/nginx/html; index index.html index.htm;