You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm hosting Bitwarden on premise and I've configured an nginx reverse proxy for SSL with Let's Encrypt. I'm using the location /bw/. This nginx is separate from the bitwarden-nginx container. My Bitwarden is listening on nonstandard ports, so 80/443 are available for my internet facing nginx.
If I'm trying to connect to Bitwarden using https://dyn.dns.tld/bw/ I am able to connect to the login page. However if I'm trying to log in I'll get an "Error fetching data"-Error. When analyzing the network traffic I can see that there is a prelogin-Request, that is using https://dyn.dns.tld/api/accounts/prelogin. Whereas I would expect that the prelogin-Request should be using https://dyn.dns.tld/bw/ap/accounts/prelogin.
In my config.yml I also have specified url: https://dyn.dns.tld/bw/. I also changed the settings for baseServiceUri in ./bwdata/env/global.override.env as well, but I have no luck. I already rebuild/restarted using bitwarden.sh.
Any ideas?
The text was updated successfully, but these errors were encountered:
Okay, so I figured if i add another location to my nginx for /idenitiy and /api I can log in from remote. But in the developer console there still are a few endpoints that are not reachable (/icon, etc.) since I haven't configured the locations in my nginx for it.
Is there a way to move all the Bitwarden endpoints behind a common URI like /bw/ so my reverse proxy configuration is more clean?
I also tried to reinstall bitwarden all together, but the installer doesn't even ask me if I run this behind a proxy.
Hi,
I'm hosting Bitwarden on premise and I've configured an nginx reverse proxy for SSL with Let's Encrypt. I'm using the location
/bw/
. This nginx is separate from the bitwarden-nginx container. My Bitwarden is listening on nonstandard ports, so 80/443 are available for my internet facing nginx.If I'm trying to connect to Bitwarden using
https://dyn.dns.tld/bw/
I am able to connect to the login page. However if I'm trying to log in I'll get an "Error fetching data"-Error. When analyzing the network traffic I can see that there is aprelogin
-Request, that is usinghttps://dyn.dns.tld/api/accounts/prelogin
. Whereas I would expect that theprelogin
-Request should be usinghttps://dyn.dns.tld/bw/ap/accounts/prelogin
.In my
config.yml
I also have specifiedurl: https://dyn.dns.tld/bw/
. I also changed the settings forbaseServiceUri
in./bwdata/env/global.override.env
as well, but I have no luck. I already rebuild/restarted usingbitwarden.sh
.Any ideas?
The text was updated successfully, but these errors were encountered: