change gunicorn media default
This commit is contained in:
parent
30f3a697f0
commit
ecf985f5e3
@ -44,7 +44,7 @@ INTERNAL_IPS = os.getenv('INTERNAL_IPS').split(
|
|||||||
',') if os.getenv('INTERNAL_IPS') else ['127.0.0.1']
|
',') if os.getenv('INTERNAL_IPS') else ['127.0.0.1']
|
||||||
|
|
||||||
# allow djangos wsgi server to server mediafiles
|
# 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:
|
if os.getenv('REVERSE_PROXY_AUTH') is not None:
|
||||||
print('DEPRECATION WARNING: Environment var "REVERSE_PROXY_AUTH" is deprecated. Please use "REMOTE_USER_AUTH".')
|
print('DEPRECATION WARNING: Environment var "REVERSE_PROXY_AUTH" is deprecated. Please use "REMOTE_USER_AUTH".')
|
||||||
|
Loading…
Reference in New Issue
Block a user