Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'app.go')
-rw-r--r--app.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/app.go b/app.go
index 27094cff..af166e72 100644
--- a/app.go
+++ b/app.go
@@ -267,7 +267,6 @@ func (a *theApp) buildHandlerPipeline() (http.Handler, error) {
rl := ratelimiter.New(
ratelimiter.WithSourceIPLimitPerSecond(a.config.RateLimit.SourceIPLimitPerSecond),
ratelimiter.WithSourceIPBurstSize(a.config.RateLimit.SourceIPBurst),
- ratelimiter.WithProxied(len(a.config.Listeners.Proxy) > 0),
)
handler = rl.SourceIPLimiter(handler)