From a4a2d4a8b4ba81ea2e7e3c8b9d99cd8ba759a658 Mon Sep 17 00:00:00 2001 From: mzoeller <1606177+mzoeller@users.noreply.github.com> Date: Tue, 14 Jan 2025 06:42:09 +0100 Subject: [PATCH] nginx: increase proxy_read_timeout for /admin/ from 1 to 5 minutes for large number of domains or slow boxes (or both), the default nginx 60 second read timeout can result in admin panel errors on pages like status or tls certs --- conf/nginx-primaryonly.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx-primaryonly.conf b/conf/nginx-primaryonly.conf index 36f62aab..d7c505c8 100644 --- a/conf/nginx-primaryonly.conf +++ b/conf/nginx-primaryonly.conf @@ -9,6 +9,7 @@ location /admin/ { proxy_pass http://127.0.0.1:10222/; proxy_set_header X-Forwarded-For $remote_addr; + proxy_read_timeout 300s; add_header X-Frame-Options "DENY"; add_header X-Content-Type-Options nosniff; add_header Content-Security-Policy "frame-ancestors 'none';";