hi all,
Im trying to proxypass bitwarden on my apache server.
I have my domain myserver and I can use bitwarden with port myserver:3743
Now for easy to use, I’m trying to use bitwarden as myserver/bitwarden
I followed the github wiki but no luck. Im getting
502 Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /bitwarden .
Reason: Error reading from remote server
I have tried the following setting:
-
environment variable
DOMAIN=myserver/bitwarden (including https) -
apache config
<Location /bitwarden>
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /notifications/hub(.*) ws://localhost:3012/$1 [P,L]
ProxyPass http://localhost:3743ProxyPreserveHost On
RequestHeader set X-Real-IP %{REMOTE_ADDR}s
</Location
Any assistance would be appreciated
Cheers