diff --git a/Using-an-alternate-base-dir.md b/Using-an-alternate-base-dir.md index 153eeda..52427c6 100644 --- a/Using-an-alternate-base-dir.md +++ b/Using-an-alternate-base-dir.md @@ -23,6 +23,17 @@ Simply configure your domain URL to include the base dir. For example, suppose y 4. Restart bitwarden_rs. 5. You should now be able to access the web vault at `https://bitwarden.example.com/base-dir/` (note the trailing slash). For reasons not entirely clear, you'll probably run into issues if you use `https://bitwarden.example.com/base-dir` (without the trailing slash). 6. Configure your apps or browser extensions to use `https://bitwarden.example.com/base-dir`. If you add a trailing slash, the apps and extensions will automatically remove it before saving. +7. Note over **5**. The trailing slash `/` issue could be solved by appending `/` after the route location string. For example, in nginx. + +``` + location /my-base-path { + # This config would cause `/` issue + } + + location /my-base-path-2/ { + # This config works perfectly + } +``` ## Reverse proxying