mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-27 07:58:30 +03:00
standalone executable behind nginx? #207
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 @Geobert on GitHub (Jan 23, 2019).
Hi,
I'm a software engineer but I'm quite weak in the server admin stuff which I only do on my hobby VPS.
That's why I don't have any idea on how to setup bitwarden_rs behind my existing nginx.
I tried to set up
ROCKET_ADDRESS=127.0.0.1and port to 8000, launch bitwarden_rs, and in nginx config:but when accessing bw.mydomain.com, it does not work and redirect me to mydomain.com
I'm trying to get it running without HTTPS first to get my certificate through letsencrypt and certbot.
What am I missing?
Regards
EDIT: just tried bw.mydomain.com/admin, it's working… ^^' I'm really a noob
@mprasil commented on GitHub (Jan 23, 2019):
Is it possible you have a redirect from http to https that is doing the redirect to top domain?
@Geobert commented on GitHub (Jan 23, 2019):
I have but for the top domain only, not for bw.mydomain.com
Maybe the rules from top domain are overriding?
@mprasil commented on GitHub (Jan 23, 2019):
Sounds like that yeah. bitwarden_rs doesn't do any redirects on its own.