idhub: add CSRF_TRUSTED_ORIGINS env var
This commit is contained in:
parent
93d1f2d01c
commit
4c7e6bd3c9
|
@ -10,3 +10,5 @@
|
|||
# specially useful if you want to deploy in a specific domain
|
||||
#MUSICIAN_API_BASE_URL='https://orchestra.example.org'
|
||||
#MUSICIAN_ALLOWED_HOSTS='musician.example.org'
|
||||
# adapt to your domain in a production/reverse proxy env
|
||||
IDHUB_CSRF_TRUSTED_ORIGINS='https://idhub.example.org'
|
||||
|
|
|
@ -14,5 +14,6 @@ services:
|
|||
- DJANGO_SUPERUSER_PASSWORD=${IDHUB_PASSWD}
|
||||
- DJANGO_SUPERUSER_EMAIL=${IDHUB_EMAIL}
|
||||
- DEPLOYMENT=${IDHUB_DEPLOYMENT}
|
||||
- CSRF_TRUSTED_ORIGINS=${IDHUB_CSRF_TRUSTED_ORIGINS}
|
||||
ports:
|
||||
- 7000:7000
|
||||
|
|
Reference in New Issue