1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-01-23 12:37:05 +00:00

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
This commit is contained in:
mzoeller 2025-01-14 06:42:09 +01:00 committed by GitHub
parent e6c354c312
commit a4a2d4a8b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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';";