From 15f576c362b24578eeb4bc8467af4877af15450d Mon Sep 17 00:00:00 2001 From: Javier Provecho Fernandez Date: Tue, 9 Feb 2021 00:11:27 +0100 Subject: [PATCH] docs(readme): remove old reference to hostnames ... as trusted proxies --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2b45edbc..dc7cf424 100644 --- a/README.md +++ b/README.md @@ -2124,11 +2124,8 @@ as well as specifying which proxies (or direct clients) you trust to specify one of these headers. The `TrustedProxies` slice on your `gin.Engine` specifes the clients -truest to specify unspoofed client IP headers. Proxies can be specified -as IP's, CIDR's, or hostnames. Hostnames are resolved on each query, -such that changes in your proxy pool take effect immediately. The -hostname option is handy, but also costly, so only use if you have no -other option. +trusted to specify unspoofed client IP headers. Proxies can be specified +as IPs or CIDRs. ```go import (