aboutsummaryrefslogtreecommitdiff
path: root/cmd/anubis/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/anubis/main.go')
-rw-r--r--cmd/anubis/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/anubis/main.go b/cmd/anubis/main.go
index 75d3038..e27e02f 100644
--- a/cmd/anubis/main.go
+++ b/cmd/anubis/main.go
@@ -214,6 +214,7 @@ func main() {
var h http.Handler
h = mux
h = internal.DefaultXRealIP(*debugXRealIPDefault, h)
+ h = internal.XForwardedForToXRealIP(h)
srv := http.Server{Handler: h}
listener, url := setupListener(*bindNetwork, *bind)