Skip to content

Commit ea74ac3

Browse files
authored
Fix typos in IP address guide
Corrected some typos in IP address documentation.
1 parent 8554e63 commit ea74ac3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/guide/ip-address.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ sidebar_position: 8
99
IP address plays a fundamental role in HTTP; it's used for access control, auditing, geo-based access analysis, and more.
1010
Echo provides a handy method [`Context#RealIP()`](https://godoc.org/github.com/labstack/echo#Context) for that.
1111

12-
However, it is not trivial to retrieve the _real_ IP address from requests especially when you put L7 proxies before the application.
12+
However, it is not trivial to retrieve the _real_ IP address from requests, especially when you put L7 proxies before the application.
1313
In such situations, _real_ IP needs to be relayed on the HTTP layer from proxies to your app, however, you must not trust HTTP headers unconditionally.
14-
Otherwise you might give someone a chance of deceiving you. **A security risk!**
14+
Otherwise, you might give someone a chance of deceiving you. **A security risk!**
1515

16-
To retrieve IP address reliably/securely, you must let your application be aware of the entire architecture of your infrastructrure.
16+
To retrieve IP address reliably/securely, you must let your application be aware of the entire architecture of your infrastructure.
1717
In Echo, this can be done by configuring `Echo#IPExtractor` appropriately.
1818
This guides show you why and how.
1919

0 commit comments

Comments
 (0)