Don't emit NGINX version on err pages and in the Server response header

This commit is contained in:
Mitchell Cash
2020-06-13 10:20:39 +01:00
parent 785ff6fbc1
commit 6ee5364738
+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;