feat(web) - Added NGINX_KEEPALIVE_TIMEOUT environment variable

pull/1734/head^2
lala 2 months ago committed by Saúl Ibarra Corretgé
parent 24bf3e4b94
commit 36b2e1662d
  1. 1
      docker-compose.yml
  2. 2
      web/rootfs/defaults/nginx.conf

@ -117,6 +117,7 @@ services:
- MATOMO_ENDPOINT - MATOMO_ENDPOINT
- MATOMO_SITE_ID - MATOMO_SITE_ID
- MICROSOFT_API_APP_CLIENT_ID - MICROSOFT_API_APP_CLIENT_ID
- NGINX_KEEPALIVE_TIMEOUT
- NGINX_RESOLVER - NGINX_RESOLVER
- NGINX_WORKER_PROCESSES - NGINX_WORKER_PROCESSES
- NGINX_WORKER_CONNECTIONS - NGINX_WORKER_CONNECTIONS

@ -17,7 +17,7 @@ http {
sendfile on; sendfile on;
tcp_nopush on; tcp_nopush on;
tcp_nodelay on; tcp_nodelay on;
keepalive_timeout 65; keepalive_timeout {{ .Env.NGINX_KEEPALIVE_TIMEOUT | default "65" }};
types_hash_max_size 2048; types_hash_max_size 2048;
server_tokens off; server_tokens off;

Loading…
Cancel
Save