chg: Bump configs to be in-line with prod

pull/42/head
Raphaël Vinot 2019-04-05 14:13:07 +02:00
parent 33032fb9f9
commit 9ef9fef655
2 changed files with 6 additions and 4 deletions

View File

@ -10,8 +10,10 @@ if __name__ == '__main__':
website_dir = get_homedir() / 'website'
Popen([str(website_dir / '3rdparty.sh')], cwd=website_dir)
try:
p = Popen(['gunicorn', '--worker-class', 'eventlet', '-w', '10', '--graceful-timeout', '2',
'-b', '0.0.0.0:5100', 'web:app'],
p = Popen(['gunicorn', '--worker-class', 'eventlet', '-w', '10',
'--graceful-timeout', '2', '--timeout', '30',
'-b', '0.0.0.0:5100',
'web:app'],
cwd=website_dir)
set_running('website')
while True:

View File

@ -8,8 +8,8 @@ server {
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_connect_timeout 10;
proxy_read_timeout 10;
proxy_connect_timeout 300;
proxy_read_timeout 300;
proxy_pass http://localhost:5100/;
}
}