You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Bitwarden_rs version: bitwardenrs/server:alpine
Install method: docker-compose
Clients used: Latest chrome and firefox
Reverse proxy and version: traefik:latest
Other relevant information:
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
This discussion was converted from issue #1388 on February 17, 2021 12:13.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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"
Beta Was this translation helpful? Give feedback.
All reactions