mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-20 12:06:35 +00:00
Adjust nginx
timeout
This commit is contained in:
parent
f94474093a
commit
663dbd48e1
@ -103,15 +103,16 @@ http {
|
||||
# Authentication and proxying
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_set_header Host localhost:8080;
|
||||
proxy_set_header Host localhost:$proxy_port;
|
||||
proxy_set_header X-Forwarded-Host $x_forwarded_host;
|
||||
proxy_set_header X-Forwarded-Port $x_forwarded_port;
|
||||
proxy_set_header X-Forwarded-Proto $x_forwarded_proto;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_redirect off;
|
||||
proxy_read_timeout 59;
|
||||
proxy_connect_timeout 10;
|
||||
# this read timeout should be lower than gunicorn's timeout
|
||||
proxy_read_timeout 89s;
|
||||
proxy_connect_timeout 10s;
|
||||
}
|
||||
|
||||
# File dwnload and streaming
|
||||
|
Loading…
Reference in New Issue
Block a user