adding caddy to the project

This commit is contained in:
=
2025-12-30 23:41:52 +03:30
parent a6f1cdbd14
commit 3bd589a0a1
3 changed files with 22 additions and 2 deletions

View File

@@ -90,6 +90,10 @@ WSGI_APPLICATION = "settings.wsgi.application"
# 'NAME': BASE_DIR / 'db.sqlite3',
# }
# }
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql",