Update allowed hosts and CSRF origins for production

Replaces old domain with new URLs in ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS. Ensures proper configuration for the production environment.
main
Arne Schauf 2 weeks ago
parent fc1c4056b3
commit c8eacb2204
  1. 4
      feo_homepage/settings/prod.py

@ -4,10 +4,10 @@ from .base import *
DEBUG = False
TEMPLATE_DEBUG = True
ALLOWED_HOSTS = ['feoneu.asw.io']
ALLOWED_HOSTS = ["https://www.feo.gmbh", "https://feo.gmbh"]
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
CSRF_TRUSTED_ORIGINS = ["https://feoneu.asw.io",]
CSRF_TRUSTED_ORIGINS = ["https://www.feo.gmbh", "https://feo.gmbh"]
ENV = 'prod'

Loading…
Cancel
Save