From ecf985f5e30de5523d6e87906e1dda7203a62b06 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Sat, 6 Jan 2024 14:38:27 +0800 Subject: [PATCH] change gunicorn media default --- recipes/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/settings.py b/recipes/settings.py index 2f5b95e7..0a68e63c 100644 --- a/recipes/settings.py +++ b/recipes/settings.py @@ -44,7 +44,7 @@ INTERNAL_IPS = os.getenv('INTERNAL_IPS').split( ',') if os.getenv('INTERNAL_IPS') else ['127.0.0.1'] # allow djangos wsgi server to server mediafiles -GUNICORN_MEDIA = bool(int(os.getenv('GUNICORN_MEDIA', True))) +GUNICORN_MEDIA = bool(int(os.getenv('GUNICORN_MEDIA', False))) if os.getenv('REVERSE_PROXY_AUTH') is not None: print('DEPRECATION WARNING: Environment var "REVERSE_PROXY_AUTH" is deprecated. Please use "REMOTE_USER_AUTH".')