Skip to content

Commit 045ce90

Browse files
committed
add IS_WSGI_ENVIRONMENT=True when run in gunicorn
1 parent e455028 commit 045ce90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deploy_prod.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ gunicorn --workers=2 \
4848
-b :2026 \
4949
--access-logfile ${LOG_DIR}/access.log \
5050
--error-logfile ${LOG_DIR}/error.log \
51+
--env IS_WSGI_ENVIRONMENT=True \
5152
--daemon \
5253
--pid ${PID_FILE} \
5354
pythonkr_backend.wsgi

0 commit comments

Comments
 (0)