From 8ebe8aecfb9dd4d87637de41be15eb98b86f8ca1 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sat, 28 Mar 2020 12:00:26 +0100 Subject: [PATCH] nginx/application: Hide server tokens per default --- roles/nginx/application/templates/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nginx/application/templates/nginx.conf b/roles/nginx/application/templates/nginx.conf index c500400..b95a574 100644 --- a/roles/nginx/application/templates/nginx.conf +++ b/roles/nginx/application/templates/nginx.conf @@ -21,7 +21,7 @@ http { tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; - # server_tokens off; + server_tokens off; # Hide Server Tokens like Version for Security # server_names_hash_bucket_size 64; # server_name_in_redirect off;