From e6b903fce76869c05cddc472070ed683e30c38df Mon Sep 17 00:00:00 2001 From: Steve Donaghy Date: Thu, 8 Apr 2021 23:46:05 +0100 Subject: [PATCH] Update nginx.conf to disable server tokens Server tokens include the version of nginx in the response headers --- root/defaults/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/defaults/nginx.conf b/root/defaults/nginx.conf index a47a4050..22b05841 100644 --- a/root/defaults/nginx.conf +++ b/root/defaults/nginx.conf @@ -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;