mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #1388] Page is not loading correctly when using alternate base dir #936
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#936
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 @ahaw on GitHub (Feb 14, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1388
Subject of the issue
Bitwarden doesnt load when using alternate base pathes.
When I set domain to 'example.com/subdir' it loads the page but when the browser is trying to load resources it's ignoring basepath. The url of file is: "testing.test/app/polyfills.c9c57acc9b845fdb9052.js" instead of "testing.test/bitwarden/app/polyfills.c9c57acc9b845fdb9052.js"
Your environment
Steps to reproduce
Use alternate base dir in config and open bitwarden page.
Expected behaviour
it should load resources using basepath eg: testing.test/bitwarden/app/polyfills.c9c57acc9b845fdb9052.js
Actual behaviour
It ignoring basepath testing.test/app/polyfills.c9c57acc9b845fdb9052.js
Relevant logs
My docker configuration:
my config:
bitwarden:
container_name: bitwarden-test
image: bitwardenrs/server:alpine
restart: always
volumes:
- ./bitwarden/:/data/
ports:
- '29083:80'
env_file: .env
environment:
SIGNUPS_ALLOWED: "true"
DOMAIN: "http://testing.test/bitwarden"
labels:
- "traefik.enable=true"
- "traefik.http.routers.bitwarden.tls=false"
- "traefik.http.routers.bitwarden.rule=Host(
testing.test) && PathPrefix(/bitwarden)"- "traefik.http.routers.bitwarden.entrypoints=web"