From 923cc4b37ce72443f98b0dfbfee99c8ca1f425c1 Mon Sep 17 00:00:00 2001 From: Patryk <41372217+patbel-pwr@users.noreply.github.com> Date: Tue, 6 Oct 2020 13:53:11 +0200 Subject: [PATCH] Here's HAproxy configuration that's working for me. --- Proxy-examples.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Proxy-examples.md b/Proxy-examples.md index f477252..6c43d34 100644 --- a/Proxy-examples.md +++ b/Proxy-examples.md @@ -406,4 +406,15 @@ labels: - traefik.http.routers.bitwarden-websocket-http.service=bitwarden-websocket - traefik.http.services.bitwarden-websocket.loadbalancer.server.port=3012 ``` + + +
+HAproxy (by patbel-pwr)
+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] + +```
\ No newline at end of file