diff --git a/certbot-nginx/nginx.conf b/certbot-nginx/nginx.conf index bcd35d8..df2cfdb 100644 --- a/certbot-nginx/nginx.conf +++ b/certbot-nginx/nginx.conf @@ -67,6 +67,7 @@ http { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; + proxy_pass_header Server; } } } diff --git a/nginx/nginx.conf b/nginx/nginx.conf index ca79395..482011e 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -66,6 +66,7 @@ http { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; + proxy_pass_header Server; } }