Merge pull request #1 from lj020326/lj020326-patch-1

Update settings.py to resolve CSRF issue in traefik configuration
This commit is contained in:
lj020326 2020-03-30 16:29:06 -04:00 committed by GitHub
commit eef1246e0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,4 +85,5 @@ DATABASES = {
if os.getenv("DATABASE_SSLMODE", False):
DATABASES['default']['OPTIONS'] = {'sslmode': os.getenv("DATABASE_SSLMODE")}
USE_X_FORWARDED_HOST = True
USE_X_FORWARDED_PORT = True