summaryrefslogtreecommitdiffstats
path: root/.examples
diff options
context:
space:
mode:
Diffstat (limited to '.examples')
-rw-r--r--.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf3
-rw-r--r--.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf3
-rw-r--r--.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf3
-rw-r--r--.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf3
4 files changed, 12 insertions, 0 deletions
diff --git a/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf b/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf
index 8fbc162b..814a0f4b 100644
--- a/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf
+++ b/.examples/docker-compose/insecure/mariadb/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;
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;
diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf
index 8fbc162b..814a0f4b 100644
--- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf
+++ b/.examples/docker-compose/with-nginx-proxy/mariadb/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;
diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf
index 8fbc162b..814a0f4b 100644
--- a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf
+++ b/.examples/docker-compose/with-nginx-proxy/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;