diff --git a/nginx.conf b/nginx.conf index 7b0dba6..0541135 100644 --- a/nginx.conf +++ b/nginx.conf @@ -30,10 +30,7 @@ http { location / { proxy_pass https://adoptapet.ru/cats/; - 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_ssl_server_name on; } } }