Reverse proxy sample
This commit is contained in:
@@ -27,6 +27,10 @@ DEBUG = (os.environ.get('DJANGO_DEBUG') == "True")
|
||||
|
||||
ALLOWED_HOSTS = os.environ.get('DJANGO_ALLOWED_HOSTS', "*").split(",")
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = os.environ.get('DJANGO_ALLOWED_ORIGINS', "*").split(",")
|
||||
#CSRF_TRUSTED_ORIGINS = ["https://fetcher.matitos.org"]
|
||||
#CSRF_ALLOWED_ORIGINS = ["https://fetcher.matitos.org"]
|
||||
#CORS_ORIGINS_WHITELIST = ["https://fetcher.matitos.org"]
|
||||
|
||||
# Application definition
|
||||
|
||||
|
||||
Reference in New Issue
Block a user