cmd/anubis: set X-Real-Ip based on X-Forwarded-For (#63)

This triggers a SHAME release[0].

[0]: https://pridever.org/
This commit is contained in:
Xe Iaso 2025-03-21 16:45:33 -04:00 committed by GitHub
parent a9777a3126
commit 07e6695430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 27 additions and 1 deletions

1
go.mod
View file

@ -34,6 +34,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.62.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/sebest/xff v0.0.0-20210106013422-671bd2870b3a // indirect
golang.org/x/mod v0.24.0 // indirect
golang.org/x/net v0.37.0 // indirect
golang.org/x/sync v0.12.0 // indirect