mirror of https://github.com/CIRCL/lookyloo
chg: Bump configs to be in-line with prod
parent
33032fb9f9
commit
9ef9fef655
|
@ -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:
|
||||
|
|
|
@ -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/;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue