Skip to content

Commit

Permalink
middleware: fix typo in RealIP doc
Browse files Browse the repository at this point in the history
  • Loading branch information
l2dy committed Mar 9, 2024
1 parent 1191921 commit 7e717a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/realip.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var xRealIP = http.CanonicalHeaderKey("X-Real-IP")
// RemoteAddr will see the intended value.
//
// You should only use this middleware if you can trust the headers passed to
// you (in particular, the two headers this middleware uses), for example
// you (in particular, the three headers this middleware uses), for example
// because you have placed a reverse proxy like HAProxy or nginx in front of
// chi. If your reverse proxies are configured to pass along arbitrary header
// values from the client, or if you use this middleware without a reverse
Expand Down

0 comments on commit 7e717a1

Please sign in to comment.