Fix error unknown directive more_clear_headers
This commit is contained in:
parent
116f2b3e3d
commit
af2a5e97ba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user