mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Using NGINX reverse proxy with subpath gives "404: Not Found" #1210
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?
Originally created by @g4njawizard on GitHub (Feb 4, 2022).
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?