2024-06-28 10:05:25 +01:00
|
|
|
import os
|
|
|
|
|
|
2024-06-27 19:38:36 +01:00
|
|
|
from .base import *
|
|
|
|
|
|
|
|
|
|
|
2024-06-27 19:13:43 +01:00
|
|
|
DATABASES = {
|
|
|
|
|
"default": {
|
|
|
|
|
"ENGINE": "django.db.backends.postgresql",
|
|
|
|
|
"NAME": "reinheit",
|
|
|
|
|
"USER": "reinheit",
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DEBUG = False
|
2024-06-27 19:37:13 +01:00
|
|
|
|
|
|
|
|
ALLOWED_HOSTS = ["beer.gwairfelin.com"]
|
2024-06-27 22:39:35 +01:00
|
|
|
|
|
|
|
|
STATIC_ROOT = "/srv/www/beer.gwairfelin.com/static"
|
|
|
|
|
MEDIA_ROOT = "/srv/www/beer.gwairfelin.com/media"
|
2024-06-28 10:03:48 +01:00
|
|
|
|
|
|
|
|
SESSION_COOKIE_SECURE = True
|
|
|
|
|
CSRF_COOKIE_SECURE = True
|
2024-06-28 10:26:56 +01:00
|
|
|
CSRF_TRUSTED_ORIGINS = ["https://beer.gwairfelin.com"]
|
2024-06-28 10:05:25 +01:00
|
|
|
|
|
|
|
|
SECRET_KEY = os.environ.get("REINHEIT_SECRET_KEY")
|