mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #676] Documentation: Updated Traefik proxy example for use with Traefik v2 #456
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#456
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 @hwwilliams on GitHub (Oct 20, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/676
I just finished setting up Bitwarden and thought I'd provide the necessary labels that work for me when using the latest release of Traefik (v2.0.2 as of writing) now that v2 is out of beta in case you'd like to update the proxy example on the wiki.
These labels would provide the same functionality as the existing example just with updated syntax to work with Traefik v2 assuming you have the rest of Traefik configured correctly:
At the time of writing this I don't know of a way to have Traefik v2 redirect all http traffic to https globally so if you'd like to do that here is another example which includes a middleware redirect:
Obviously remove all comments from the label section before use.
I included both examples as the configuration of https redirects on Traefik v1 weren't the most obvious since it usually did it automatically at certain points and as of now with Traefik v2.0.2 you have to include a redirect rule for each host.
@mprasil commented on GitHub (Oct 22, 2019):
Hi @hwwilliams thanks for documenting this. Can you update wiki here? Leave the v1 configuration there and add v2 version afterwards or something like that so we have both. You can then respond back here if you want someone to have a look.
@hwwilliams commented on GitHub (Oct 22, 2019):
Hey @mprasil , I've added the new examples to the wiki if you'd like to okay it.
@mprasil commented on GitHub (Oct 22, 2019):
That is perfect, thanks a lot. Going to close this now.