Skip to content

Commit e7f5e78

Browse files
Update ip-address.md (#357)
some grammar and punctuation fixes.
1 parent d9db81d commit e7f5e78

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
@@ -6,11 +6,11 @@ sidebar_position: 8
66

77
# IP Address
88

9-
IP address plays fundamental role in HTTP; it's used for access control, auditing, geo-based access analysis and more.
10-
Echo provides handy method [`Context#RealIP()`](https://godoc.org/github.com/labstack/echo#Context) for that.
9+
IP address plays a fundamental role in HTTP; it's used for access control, auditing, geo-based access analysis, and more.
10+
Echo provides a handy method [`Context#RealIP()`](https://godoc.org/github.com/labstack/echo#Context) for that.
1111

1212
However, it is not trivial to retrieve the _real_ IP address from requests especially when you put L7 proxies before the application.
13-
In such situation, _real_ IP needs to be relayed on HTTP layer from proxies to your app, but you must not trust HTTP headers unconditionally.
13+
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.
1414
Otherwise you might give someone a chance of deceiving you. **A security risk!**
1515

1616
To retrieve IP address reliably/securely, you must let your application be aware of the entire architecture of your infrastructrure.

0 commit comments

Comments
 (0)