Haproxy + Bitwarden

Hello,

i already use haproxy for my Jira and Confluence and Ownlcloud.

For example Jira it’s https://my.example.com/jira, for confluence https://my.example.com/confluence.

I would to use https://my.example.com/bitwarden for bitwarden but i did the same config but when i try i arrive with a page with

400 Bad Request
The plain HTTP request was sent to HTTPS port
nginx

Anybody have an example of config? Thank you

Up :slight_smile:

Hello,

i go one on my the debuging of this problem, i put this in backend :slight_smile: backend bitwarden
balance roundrobin
server bitwarden 192.168.0.123:443 check maxconn 20 ssl verify none

but on nginx from bitwarden i seing it

192.168.0.125 - - [02/Dec/2021:11:33:38 +0000] "GET /bitwarden HTTP/1.1" 404 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" "-"

I think haproxy transfert to /bitwarden but it can’t do it. Any idea to force to send to / only?

Thank you