Merge pull request #707 from MitchellCash/nginx-version

Don't emit NGINX version on err pages and in the Server response header
This commit is contained in:
Kasra Bigdeli
2020-06-13 23:10:35 -04:00
committed by GitHub
+3
View File
@@ -38,6 +38,9 @@ http {
server_names_hash_bucket_size 128;
# Don't emit NGINX version on error pages and in the “Server” response header field.
server_tokens off;
#gzip on;
include /etc/nginx/conf.d/*.conf;