mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-24 19:07:44 +03:00
Problems running under domain.com/bitwarden #1333
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 @jlknoch on GitHub (Jul 28, 2022).
Hey all,
we are running a Kubernetes cluster and would like the Docker version of
bitwardenrs/server:latestto be available viadomain.com/bitwarden.To do this, we instructed our traefik to point to our bitwarden server at
/bitwarden. In order for the main page to load, we also had to add a middleware that stripped away the prefix bitwarden again.The main page loads without errors.
We would also like to use the admin panel and make it accessible under
/bitwarden/admin.Again, the interaction of Traefik and bitwardenrs works and we can call
/bitwarden/admin. However, the resources of the admin page cannot be loaded because absolute links and no relative links are specified in the source code.When we call

domain.com/bitwarden/admin:The source code is:
In the source code of the admin panel absolute links are used like
/vw_static/vaultwarden-icon.png. But these links should be named/bitwarden/vw_static/vaultwarden-icon.pngto be reachable. So they should be relative.How to solve the problem
In the code you could achieve this by omitting the
/at the beginning of the link. Then instead of/vw_static/vaultwarden-icon.pngnowvw_static/vaultwarden-icon.pngwould be used. This link would then be automatically attached to suburls like/bitwardenand you could reach the resources.Would it be possible to create an update for this? If not, how can we achieve this on our end?
Thanks in advance!