0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-12-25 02:26:13 +01:00

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;