mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
reverse proxy config with 1.9.1 #314
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pew on GitHub (Jun 3, 2019).
Hi,
I just upgraded bitwarden from
mprasil/bitwarden:1.9.0-alpinetobitwardenrs/server:1.9.1. Now my reverse proxy can't find the backend anymore. I'm using traefik, it reportsbackend not foundin the log files (that's it).According to the docker-compose logs from bitwarden it's starting just fine:
Any significant changes between the old and new docker build mechanism? I also tried
bitwardenrs/server:1.9.0-alpinewhich didn't work either. Reverting back tomprasil/bitwarden:1.9.0-alpineworked just fine.@MarsWarrior commented on GitHub (Jun 3, 2019):
@ home I'm using
bitwardenrs/server:1.9.0(Version 1.9.0-08a445e2 according to the bitwarden log) behind an Apache reverse proxy. Before that I usedmprasil/bitwarden:1.9.0.Both just work.
Not sure if that is the
-alpineversion you have troubles with.Did you restart Traefik? I know from our environment @ work, that sometimes Traefik gets confused and we have to restart Traefik in order to have it recognizing all backends.
@pew commented on GitHub (Jun 3, 2019):
Yes I restarted treafik and I did try both, alpine and non alpine.
@mprasil commented on GitHub (Jun 3, 2019):
The alpine version is just smaller version that has most stuff statically linked. Functionally there should be no difference.
None, they are using same Dockerfile and both are automatic builds.
I've just tried running all versions (
bitwardenrs/server:1.9.0-alpine,bitwardenrs/server:1.9.1-alpine,bitwardenrs/server:1.9.1) and they all work just fine in my experience. Are you definitely using the same labels and everything else?@pew commented on GitHub (Jun 3, 2019):
@mprasil Yes, I really just replaced the one line with
image:, pulled it and restarted. I'll try it again later on if time permits or tomorrow.@patrick-othmer commented on GitHub (Jun 4, 2019):
I run bitwarden behind haproxy and replaced also the image. No problem on our side.
Did you define traefik labels such traefik.frontend.rule / traefik.port? Are both containers still in the same network?
@pew commented on GitHub (Jun 4, 2019):
@patrick-othmer Yes, this is literally the diff of my docker-compose.yml:
I'll change it today and report back. Hopefully I was just too impatient with traefik (but I waited a few minutes and even restarted, so I don't think so)
@pew commented on GitHub (Jun 4, 2019):
Well, works now:
Didn't even take a minute for traefik to recognize it. Just a bad day yesterday? Today is rather a bad day for me.. well, thank you! I'll go ahead and close this one right now since also no one else reports an issue. Thanks again.
@gerroon commented on GitHub (Jul 2, 2019):
Do you mind telling me your apache proxy setup? I cant get it to work. I can open the main page but I get "unexpected error" when I try to login.
@MarsWarrior commented on GitHub (Jul 2, 2019):
You can check that here, https://github.com/dani-garcia/bitwarden_rs/wiki/Proxy-examples.
The main part is:
@gerroon commented on GitHub (Jul 3, 2019):
@MarsWarrior thanks that looks good