diff options
author | Jan Kiesewetter <jan@t3easy.de> | 2022-02-17 14:52:11 +0100 |
---|---|---|
committer | Jan Kiesewetter <jan@t3easy.de> | 2022-02-17 14:55:39 +0100 |
commit | 522559eefdd56d2e49259c3b0f4a0e92882cdb87 (patch) | |
tree | 65ea9009e1b7d734741d077e1017e80c0f78f9b6 /.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf | |
parent | 211229f8dc1ddbede16f7bb67d4bcada75d6a047 (diff) |
Prevent nginx HTTP Server Detection
Signed-off-by: Jan Kiesewetter <jan@t3easy.de>
Diffstat (limited to '.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf')
-rw-r--r-- | .examples/docker-compose/insecure/postgres/fpm/web/nginx.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf b/.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf index 8fbc162b..814a0f4b 100644 --- a/.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf +++ b/.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf @@ -22,6 +22,9 @@ http { sendfile on; #tcp_nopush on; + # Prevent nginx HTTP Server Detection + server_tokens off; + keepalive_timeout 65; #gzip on; |