Here's HAproxy configuration that's working for me.

Patryk
2020-10-06 13:53:11 +02:00
parent 7c38851845
commit 923cc4b37c

@@ -406,4 +406,15 @@ labels:
- traefik.http.routers.bitwarden-websocket-http.service=bitwarden-websocket
- traefik.http.services.bitwarden-websocket.loadbalancer.server.port=3012
```
</details>
<details>
<summary>HAproxy (by patbel-pwr)</summary><br/>
Add these lines in _frontend https_ section in order to forward ips for all your proxied services.
```
option forwardfor header X-Real-IP
http-request set-header X-Real-IP %[src]
```
</details>