[ADD] Django SSL handling to base.py

This commit is contained in:
Peter Pfeufer 2025-06-19 10:36:30 +02:00
parent a650f0730e
commit 02e06b4c4a
No known key found for this signature in database

View File

@ -14,6 +14,11 @@ from django.contrib import messages
from django.utils.translation import gettext_lazy as _
# SSL Settings
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTOCOL", "https")
# Installed apps
INSTALLED_APPS = [
'allianceauth', # needs to be on top of this list to support favicons in Django admin (see https://gitlab.com/allianceauth/allianceauth/-/issues/1301)
'django.contrib.admin',