When operating TeamVault behind a http(s)-Proxy, ALLOWED_HOSTS needs to contain the internal ip/port (ie http://127.0.0.1:8080). Currently ALLOWED_HOSTS is only configured based on base_url, so the base_url has to be set to http://127.0.0.1:8080 which is obviously incorrect in a https-proxy-setup and will result to problems when the base_url is used for redirects.
It would be nice to be able to set / add to ALLOWED_HOSTS independent of the base_url.
When operating TeamVault behind a http(s)-Proxy,
ALLOWED_HOSTS
needs to contain the internal ip/port (iehttp://127.0.0.1:8080
). CurrentlyALLOWED_HOSTS
is only configured based on base_url, so the base_url has to be set tohttp://127.0.0.1:8080
which is obviously incorrect in a https-proxy-setup and will result to problems when the base_url is used for redirects.It would be nice to be able to set / add to
ALLOWED_HOSTS
independent of the base_url.