From 7b29c1f30401942ed39950a514fd59e0b8b4694d Mon Sep 17 00:00:00 2001 From: Patrik Kernstock Date: Thu, 13 Nov 2025 15:19:11 +0100 Subject: [PATCH] Disable nginx server_tokens in http context (#6873) --- data/conf/nginx/templates/nginx.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/data/conf/nginx/templates/nginx.conf.j2 b/data/conf/nginx/templates/nginx.conf.j2 index 4b32ff15b..08a85a144 100644 --- a/data/conf/nginx/templates/nginx.conf.j2 +++ b/data/conf/nginx/templates/nginx.conf.j2 @@ -13,6 +13,7 @@ events { http { include /etc/nginx/mime.types; default_type application/octet-stream; + server_tokens off; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" '