Disable SECURE_SSL_REDIRECT by default behind ingress TLS
Kubelet probes hit the pod over HTTP; redirect-on-all-requests breaks readiness. TLS remains terminated at Traefik/ingress.
This commit is contained in:
parent
c71fb0fda9
commit
7067145bb0
1 changed files with 2 additions and 1 deletions
|
|
@ -6,4 +6,5 @@ DEBUG = False
|
|||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||
SESSION_COOKIE_SECURE = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
SECURE_SSL_REDIRECT = config("SECURE_SSL_REDIRECT", default=True, cast=bool)
|
||||
# TLS terminates at ingress; probes hit the pod over plain HTTP.
|
||||
SECURE_SSL_REDIRECT = config("SECURE_SSL_REDIRECT", default=False, cast=bool)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue