mirror of
https://github.com/caprover/caprover
synced 2026-05-03 18:20:32 +00:00
Don't emit NGINX version on err pages and in the Server response header
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user