ADD secure SSL header

This commit is contained in:
karmaking 2025-01-10 20:49:41 +01:00
parent 8e8091a0ea
commit c21fe5d9ab

View File

@ -284,6 +284,8 @@ SESSION_COOKIE_AGE = 300
CSRF_COOKIE_HTTPONLY = True
CSRF_COOKIE_SECURE = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
# Paths on API_HOST to OAuth
OAUTH_TOKEN_PATH = '/oauth/initiate'
OAUTH_AUTHORIZATION_PATH = '/oauth/authorize'