fix for URL's not working correctly behind a reverse proxy.

This commit is contained in:
ajurna
2020-05-25 18:43:52 +01:00
parent b420f074d6
commit 8ddfcb7965
2 changed files with 9 additions and 2 deletions

View File

@@ -14,4 +14,7 @@ DATABASE_URL = 'postgres://{user}:{password}@{hostname}:{port}/{database-name}'
# for google recaptcha 2
# DJANGO_CBREADER_USE_RECAPTCHA = True
# DJANGO_RECAPTCHA_PRIVATE_KEY = ''
# DJANGO_RECAPTCHA_PUBLIC_KEY = ''
# DJANGO_RECAPTCHA_PUBLIC_KEY = ''
# Uncomment the following is using a reverse proxy.
# USE_X_FORWARDED_HOST=True