mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #935] "Bad Gateway" with Traefik v2 #661
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#661
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @damienclerc on GitHub (Mar 27, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/935
Hi all !
I have following this wiki : https://github.com/dani-garcia/bitwarden_rs/wiki/Proxy-examples for enable HTTPS with Traefik V2 but i get "Bad Gateway" when I try to access on my URL bitwarden.mydomain.com.
The certificate is correctly create by lets enscript on my file "acme.json".
My Traefik configuration :

My Bitwarden configuration :

The Traefik's logs when I try to access to my "bitwarden.mydomain.com" :

And the page than I get :

I don't see where the problem can come... We can see in the logs that Traefik redirects the url to the docker address of my container...
Thanks a lot for your help !
@dennisgerding commented on GitHub (Mar 29, 2020):
Hi, I guess its because you have to map Traefik to Bitwarden's internal ports (80 and 3012). I'm also unsure why you would open ports directly if you are using a reverse proxy.
Dennis
@damienclerc commented on GitHub (Mar 29, 2020):
Hi Dennis,
Thank you very much ! It's work !
I am a beginner with Traefik and also Docker... You just made me understand a new notion :)
I did not understand that the redirection must be done on the internal port of the docker and not on the redirected port.
Thanks again !
@mregni commented on GitHub (Mar 11, 2021):
Hi @Daams13, sorry for replying to a closed issue here. But I have the exact same issue.
Can you tell me how you fixed this Bad Gateway problem?