archivematica / Issues

Issues repository for the Archivematica project
GNU Affero General Public License v3.0
15 stars 1 forks source link

Problem: Cannot set CSRF_TRUSTED_ORIGINS and USE_X_FORWARDED_HOST DJANGO env variables #1675

Closed mamedin closed 1 month ago

mamedin commented 2 months ago

Expected behaviour

Both variables should be configurable:

Current behaviour

They are using the default values, they cannot be set as environment variables.

Steps to reproduce

Try to configure a second reverse proxy or OIDC auth.

Your environment (version of Archivematica, operating system, other relevant details)

Ubuntu 22, AM qa/1.x, SS qa/0.x


For Artefactual use:

Before you close this issue, you must check off the following:

replaceafill commented 1 month ago

These variables are now set in the /etc/default/archivematica-* files.