diff --git a/nginx.conf b/nginx.conf index 23438209..8f168ac9 100644 --- a/nginx.conf +++ b/nginx.conf @@ -18,15 +18,9 @@ server { 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_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; - - # Add timeout configurations - proxy_connect_timeout 60s; - proxy_send_timeout 60s; - proxy_read_timeout 60s; - # Add error handling proxy_intercept_errors on; error_page 502 503 504 /50x.html;