2026-08-09 01:45:05 +02:00
|
|
|
from decouple import config
|
|
|
|
|
|
|
|
|
|
from .base import * # noqa: F403
|
|
|
|
|
|
|
|
|
|
DEBUG = False
|
|
|
|
|
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
|
|
|
|
SESSION_COOKIE_SECURE = True
|
|
|
|
|
CSRF_COOKIE_SECURE = True
|
2026-08-09 02:24:02 +02:00
|
|
|
# TLS terminates at ingress; probes hit the pod over plain HTTP.
|
|
|
|
|
SECURE_SSL_REDIRECT = config("SECURE_SSL_REDIRECT", default=False, cast=bool)
|