Skip to content

Commit c1f2a7a

Browse files
authored
middleware: fix typo in RealIP doc (#903)
1 parent 1191921 commit c1f2a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware/realip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var xRealIP = http.CanonicalHeaderKey("X-Real-IP")
2222
// RemoteAddr will see the intended value.
2323
//
2424
// You should only use this middleware if you can trust the headers passed to
25-
// you (in particular, the two headers this middleware uses), for example
25+
// you (in particular, the three headers this middleware uses), for example
2626
// because you have placed a reverse proxy like HAProxy or nginx in front of
2727
// chi. If your reverse proxies are configured to pass along arbitrary header
2828
// values from the client, or if you use this middleware without a reverse

0 commit comments

Comments
 (0)