Start adding virtual sites with nginx.
This commit is contained in:
parent
03778e9834
commit
4be5e93c9c
7 changed files with 68 additions and 29 deletions
BIN
wedding_site/primary/static/primary/favicon.ico
Executable file
BIN
wedding_site/primary/static/primary/favicon.ico
Executable file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -111,6 +111,9 @@ USE_I18N = True
|
|||
|
||||
USE_TZ = True
|
||||
|
||||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||
CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS").split(" ")
|
||||
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/5.0/howto/static-files/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue