bundles/paperless: add CSRF_TRUSTED_ORIGINS
This commit is contained in:
parent
87a33f5bc6
commit
67005b5c33
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ PAPERLESS_FILENAME_FORMAT={{ created_year }}/{{ created_month }}/{{ corresponden
|
|||
# Security and hosting
|
||||
|
||||
PAPERLESS_SECRET_KEY=${repo.vault.random_bytes_as_base64_for(f'{node.name} paperless secret key')}
|
||||
PAPERLESS_CSRF_TRUSTED_ORIGINS=https://${node.metadata.get('paperless/domain')}
|
||||
PAPERLESS_ALLOWED_HOSTS=${node.metadata.get('paperless/domain')}
|
||||
PAPERLESS_CORS_ALLOWED_HOSTS=http://${node.metadata.get('paperless/domain')},https://${node.metadata.get('paperless/domain')}
|
||||
#PAPERLESS_FORCE_SCRIPT_NAME=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue