diff --git a/nginx/conf.d/hotelsync.conf b/nginx/conf.d/hotelsync.conf index 5804817..9c81df9 100644 --- a/nginx/conf.d/hotelsync.conf +++ b/nginx/conf.d/hotelsync.conf @@ -84,6 +84,8 @@ server { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; 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_read_timeout 86400; }