Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd proxy_set_header to nginx template to fix redirection problem #581
Conversation
Without proxy_set_header there was a redirection from host:8443/admin to host:443/admin .
|
We already set the host header from our proxy.conf: https://github.com/bitwarden/server/blob/master/util/Nginx/proxy.conf#L2 Should we just update that to include the port as well? Not sure how that might affect every endpoint though. |
|
I was not sure about negative effects on other entpoints as well, therefore it was safer to just set the port for the admin entpoint. Maybe you can check if setting the port global does work fine ? |
|
mmmh strangely enough I also use an alternate port in my |
|
I just tested this change and it breaks configs that are using 80/443. Trying to visit |
|
|
Without proxy_set_header there was a redirection from host:8443/admin to host:443/admin .
Therefore the admin page was not accessible.