Fix error unknown directive more_clear_headers

This commit is contained in:
Evgeniy Antonyuk 2024-01-26 14:34:35 +07:00
parent 116f2b3e3d
commit af2a5e97ba

View File

@ -4,8 +4,8 @@ proxy_set_header Host $the_host;
proxy_set_header X-Forwarded-Host $the_host;
proxy_set_header X-Forwarded-Proto $the_scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
more_clear_headers 'Server';
more_clear_headers 'X-Powered-By';
proxy_hide_header 'Server';
proxy_hide_header 'X-Powered-By';
server {
listen 0.0.0.0:80;