diff --git a/nginx.conf.template b/nginx.conf.template index 4c6c2b5954..ea6f46b752 100644 --- a/nginx.conf.template +++ b/nginx.conf.template @@ -163,6 +163,10 @@ server { } index index.html; try_files /static/shell/index.html /index.html =404; + 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 $my_scheme; + proxy_set_header Host $http_host; } location ^~ /wb {