Reverse proxy sample

This commit is contained in:
Luciano Gervasoni committed 2025-04-04 17:33:27 +02:00
1 parent 9127552bfd
commit 3e84fc4508
2 files changed
+20 -13

No files matched your search

+4
View File
@@ -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