Prevent nginx HTTP Server Detection

Signed-off-by: Jan Kiesewetter <jan@t3easy.de>
This commit is contained in:
Jan Kiesewetter 2022-02-17 14:52:11 +01:00
parent 211229f8dc
commit 522559eefd
4 changed files with 12 additions and 0 deletions

View File

@ -22,6 +22,9 @@ http {
sendfile on;
#tcp_nopush on;
# Prevent nginx HTTP Server Detection
server_tokens off;
keepalive_timeout 65;
#gzip on;

View File

@ -22,6 +22,9 @@ http {
sendfile on;
#tcp_nopush on;
# Prevent nginx HTTP Server Detection
server_tokens off;
keepalive_timeout 65;
#gzip on;

View File

@ -22,6 +22,9 @@ http {
sendfile on;
#tcp_nopush on;
# Prevent nginx HTTP Server Detection
server_tokens off;
keepalive_timeout 65;
#gzip on;

View File

@ -22,6 +22,9 @@ http {
sendfile on;
#tcp_nopush on;
# Prevent nginx HTTP Server Detection
server_tokens off;
keepalive_timeout 65;
#gzip on;