quick update

This commit is contained in:
2024-09-19 20:18:04 +02:00
parent d1fe5bb187
commit b375e72704
5 changed files with 7 additions and 51 deletions

View File

@@ -7,7 +7,7 @@ load_dotenv()
DEBUG = False
ALLOWED_HOSTS = ['18.196.202.28']
ALLOWED_HOSTS = ['18.196.202.28','www.saburly.com','saburly.com']
SECRET_KEY = os.getenv('SECRET_KEY')
@@ -29,6 +29,8 @@ MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
SECURE_SSL_REDIRECT = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
SECURE_HSTS_SECONDS = 31536000