From 2d77c33f1b3124115f17237f7a9b21d4edb613c8 Mon Sep 17 00:00:00 2001 From: Manuel Gutierrez <1380243+xr09@users.noreply.github.com> Date: Fri, 23 Oct 2020 15:32:23 +0200 Subject: [PATCH] Disable server tokens --- production_cluster/nginx/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/production_cluster/nginx/nginx.conf b/production_cluster/nginx/nginx.conf index a02465fe..8cd13ca2 100644 --- a/production_cluster/nginx/nginx.conf +++ b/production_cluster/nginx/nginx.conf @@ -25,6 +25,7 @@ http { keepalive_timeout 65; + server_tokens off; gzip on; # kibana UI @@ -47,7 +48,7 @@ http { proxy_busy_buffers_size 256k; } } - + } @@ -58,7 +59,7 @@ stream { hash $remote_addr consistent; server wazuh-master:1514; server wazuh-worker:1514; - } + } server { listen 1514; proxy_pass mycluster;