mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-22 16:14:20 -05:00
[PR #868] [MERGED] Add backend support for alternate base dir (subdir/subpath) hosting #11680
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/868
Author: @jjlin
Created: 2/19/2020
Status: ✅ Merged
Merged: 2/22/2020
Merged by: @dani-garcia
Base:
master← Head:alt-base📝 Commits (4)
29a0795Add backend support for alternate base dir (subdir/subpath) hosting0a3008eUpdate web vault used in docker2f4a986Use absolute paths in the admin pagead9f2b2Removed test urlpath📊 Changes
34 files changed (+125 additions, -94 deletions)
View changed files
📝
docker/Dockerfile.j2(+2 -3)📝
docker/aarch64/mysql/Dockerfile(+2 -3)📝
docker/aarch64/sqlite/Dockerfile(+2 -3)📝
docker/amd64/mysql/Dockerfile(+2 -3)📝
docker/amd64/mysql/Dockerfile.alpine(+2 -3)📝
docker/amd64/postgresql/Dockerfile(+2 -3)📝
docker/amd64/postgresql/Dockerfile.alpine(+2 -3)📝
docker/amd64/sqlite/Dockerfile(+2 -3)📝
docker/amd64/sqlite/Dockerfile.alpine(+2 -3)📝
docker/armv6/mysql/Dockerfile(+2 -3)📝
docker/armv6/sqlite/Dockerfile(+2 -3)📝
docker/armv7/mysql/Dockerfile(+2 -3)📝
docker/armv7/sqlite/Dockerfile(+2 -3)📝
src/api/admin.rs(+11 -5)📝
src/api/core/mod.rs(+1 -1)📝
src/api/web.rs(+12 -2)📝
src/auth.rs(+5 -5)📝
src/config.rs(+21 -0)📝
src/main.rs(+10 -8)📝
src/static/templates/admin/base.hbs(+8 -8)...and 14 more files
📄 Description
To use this, include a path in the
DOMAINURL, e.g.:DOMAIN=https://example.com/custom-pathDOMAIN=https://example.com/multiple/levels/are/okResolves #241, #488, #528, #767, and maybe others when combined with
dani-garcia/bw_web_builds#11 (web vault support).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.