Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@ if-not-env = DEV_ENV
memory-report = true
endif =
route-host = ^micromasters.herokuapp.com redirect-permanent:https://micromasters.mit.edu${REQUEST_URI}
if-env = UWSGI_SOCKET_TIMEOUT
if-env = GIOVANNI
socket-timeout = $(_)
if-env = UWSGI_SOCKET_TIMEOUT
socket-timeout = %(_)
endif =
if-not-env = UWSGI_SOCKET_TIMEOUT
socket-timeout = 30
endif =