Skip to content

Commit

Permalink
Merge pull request #17 from cmu-delphi/development
Browse files Browse the repository at this point in the history
Merge latest from development and deploy to staging
  • Loading branch information
korlaxxalrok authored Oct 15, 2024
2 parents d791f8f + 630eb67 commit 95755ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gunicorn/gunicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

bind = "0.0.0.0:8000"
workers = multiprocessing.cpu_count() * 2 + 1
keepalive = 120
timeout = 300
6 changes: 6 additions & 0 deletions nginx/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ server {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_send_timeout 300;
send_timeout 300;
keepalive_timeout 300;
client_max_body_size 64m;
}
}

0 comments on commit 95755ea

Please sign in to comment.