mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #2288] Using NGINX reverse proxy with subpath gives "404: Not Found" #1215
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#1215
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 @g4njawizard on GitHub (Feb 4, 2022).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2288
Hi everyone,
I try to setup Vaultwarden on my unRAID as container using NGINX Reverse Proxy on my OPNsense Firewall (Different machine).
It works with my current proxy setting, when I use "/" as base path. But when I change my path to "/bitwarden/asgard" or something else and change the domain on the container itself to look like: -e 'DOMAIN'='http://localhost/bitwarden/asgard' It doesn't work. I get the 404.
I can leave the Domain on the Container with "http://localhost/bitwarden/asgard" and change the Proxy config to "/" again, it works ...
Seems like the base path inside the container is not working? When I look at the read-only config in admin section it looks like:
Domain Origin: http://localhost
Domain Path: Default: /bitwarden/asgard
I used this config as an example: https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples
Any idea why subpath is not working?