@ -28,7 +28,7 @@ spec:
env:
TIMEZONE: Europe/Berlin
ALLOWED_HOSTS: '*'
CSRF_TRUSTED_ORIGINS: https://recipes.trivernis.dev
CSRF_TRUSTED_ORIGINS: https://food.trivernis.net
DB_ENGINE: django.db.backends.postgresql_psycopg2
POSTGRES_HOST: recipes-db
POSTGRES_PORT: 5432
@ -17,7 +17,7 @@ spec:
entryPoints:
- web
routes:
- match: Host(`recipes.trivernis.dev`, `recipes.trivernis.net`) && PathPrefix(`/media`, `/static`)
- match: Host(`recipes.trivernis.dev`, `recipes.trivernis.net`, `food.trivernis.net`) && PathPrefix(`/media`, `/static`)
kind: Rule
middlewares:
- name: security-headers
@ -26,7 +26,7 @@ spec:
services:
- name: tandoor
port: static
- match: Host(`recipes.trivernis.dev`, `recipes.trivernis.net`)
- match: Host(`recipes.trivernis.dev`, `recipes.trivernis.net`, `food.trivernis.net`)