feat(web) - Added NGINX_KEEPALIVE_TIMEOUT environment variable

This commit is contained in:
lala
2024-09-16 14:22:57 +08:00
committed by Saúl Ibarra Corretgé
parent 24bf3e4b94
commit 36b2e1662d
2 changed files with 2 additions and 1 deletions

View File

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

View File

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