You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to clear the server information from the Nginx response header "Server". I tried following things:
more_set_headers 'Server: my-server';
more_clear_headers 'Server';
But somehow, it is not hiding a Server header and showing nginx/1.14.0 (Ubuntu) as full details on the server. Any idea?
The header works fine for clearing other headers such as "Content-Type" or "Content-encoding" but not working for "Server" header.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I want to clear the server information from the Nginx response header "Server". I tried following things:
more_set_headers 'Server: my-server';
more_clear_headers 'Server';
But somehow, it is not hiding a Server header and showing nginx/1.14.0 (Ubuntu) as full details on the server. Any idea?
The header works fine for clearing other headers such as "Content-Type" or "Content-encoding" but not working for "Server" header.
Thanks in advance!
The text was updated successfully, but these errors were encountered: