Update to actual READ the file...

This commit is contained in:
Jascha Urbach 2022-11-19 20:40:36 +01:00
parent 4e2324f06b
commit 31ea868ddc
No known key found for this signature in database
GPG key ID: A43A844B114F9B08

View file

@ -364,6 +364,7 @@ OTEL_EXPORTER_OTLP_HEADERS = env("OTEL_EXPORTER_OTLP_HEADERS", None)
OTEL_SERVICE_NAME = env("OTEL_SERVICE_NAME", None)
TWO_FACTOR_LOGIN_MAX_SECONDS = 60
if HTTP_X_FORWARDED_PROTO:
SECURE_PROXY_SSL_HEADER = env.bool("SECURE_PROXY_SSL_HEADER", false)
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")