add: add timeout on nginx conf file

This commit is contained in:
behruz-dev
2025-08-30 09:37:57 +05:00
parent 722c08537b
commit 7e4ed4cbeb
2 changed files with 3 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
send_timeout 60s;
proxy_set_header Host $http_host;
}
location /ws/ {
@@ -38,6 +39,7 @@ http {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
send_timeout 60s;
proxy_set_header Host $http_host;
}