mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-24 18:59:21 -07:00
Here's HAproxy configuration that's working for me.
@@ -406,4 +406,15 @@ labels:
|
|||||||
- traefik.http.routers.bitwarden-websocket-http.service=bitwarden-websocket
|
- traefik.http.routers.bitwarden-websocket-http.service=bitwarden-websocket
|
||||||
- traefik.http.services.bitwarden-websocket.loadbalancer.server.port=3012
|
- 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>
|
</details>
|
||||||
Reference in New Issue
Block a user