Update nginx.conf to disable server tokens

Server tokens include the version of nginx in the response headers
This commit is contained in:
Steve Donaghy 2021-04-08 23:46:05 +01:00 committed by GitHub
parent 36495ea204
commit e6b903fce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ http {
types_hash_max_size 2048;
variables_hash_max_size 2048;
# server_tokens off;
server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;