diff --git a/config/nginx.conf b/config/nginx.conf index fa74a807e2968c10e1bb74de65293ef3d461c380..34b2f9f9105f7db358a364c9e1ccc5164cf922dd 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -42,6 +42,9 @@ add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization'; proxy_pass http://PROXY_LOGIN_SERVICE; proxy_redirect default; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /mainBody {