Reverse proxy sample
This commit is contained in:
1 parent
9127552bfd
commit
3e84fc4508
2 files changed
+20
-13
No files matched your search
@@ -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