Closed mamedin closed 1 month ago
Expected behaviour
Both variables should be configurable:
USE_X_FORWARDED_HOST DJANGO: Allows to use XFORWARDED* headers, especially useful when having a second reverse proxy.
USE_X_FORWARDED_HOST DJANGO
CSRF_TRUSTED_ORIGINS: Useful to add exceptions.
CSRF_TRUSTED_ORIGINS
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:
These variables are now set in the /etc/default/archivematica-* files.
/etc/default/archivematica-*
Expected behaviour
Both variables should be configurable:
USE_X_FORWARDED_HOST DJANGO
: Allows to use XFORWARDED* headers, especially useful when having a second reverse proxy.CSRF_TRUSTED_ORIGINS
: Useful to add exceptions.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: