summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-04-10 12:55:41 +0200
committerValery Piashchynski <[email protected]>2022-04-10 12:55:41 +0200
commit203d2fa9adf83aeab8271d8c6113c15f87d9aeca (patch)
tree297e95b4a8ad5e2a8666c8c2760dc3da63f08140 /internal
parenta75413573099387bd03f91caefb0072f3fb9504d (diff)
trusted_proxies: add proxy_ip_parser middleware
Diffstat (limited to 'internal')
-rw-r--r--internal/container/plugins.go23
1 files changed, 12 insertions, 11 deletions
diff --git a/internal/container/plugins.go b/internal/container/plugins.go
index 47dad92a..2b3cba49 100644
--- a/internal/container/plugins.go
+++ b/internal/container/plugins.go
@@ -1,32 +1,32 @@
package container
import (
- "github.com/roadrunner-server/cache/v2"
- "github.com/roadrunner-server/informer/v2"
- "github.com/roadrunner-server/logger/v2"
- "github.com/roadrunner-server/metrics/v2"
- "github.com/roadrunner-server/reload/v2"
- "github.com/roadrunner-server/resetter/v2"
- rpcPlugin "github.com/roadrunner-server/rpc/v2"
- "github.com/roadrunner-server/send/v2"
- "github.com/roadrunner-server/server/v2"
- "github.com/roadrunner-server/service/v2"
-
"github.com/roadrunner-server/amqp/v2"
"github.com/roadrunner-server/beanstalk/v2"
"github.com/roadrunner-server/boltdb/v2"
"github.com/roadrunner-server/broadcast/v2"
+ "github.com/roadrunner-server/cache/v2"
"github.com/roadrunner-server/fileserver/v2"
grpcPlugin "github.com/roadrunner-server/grpc/v2"
"github.com/roadrunner-server/gzip/v2"
"github.com/roadrunner-server/headers/v2"
httpPlugin "github.com/roadrunner-server/http/v2"
+ "github.com/roadrunner-server/informer/v2"
"github.com/roadrunner-server/jobs/v2"
+ "github.com/roadrunner-server/logger/v2"
"github.com/roadrunner-server/memory/v2"
+ "github.com/roadrunner-server/metrics/v2"
"github.com/roadrunner-server/nats/v2"
newrelic "github.com/roadrunner-server/new_relic/v2"
"github.com/roadrunner-server/prometheus/v2"
+ proxyIP "github.com/roadrunner-server/proxy_ip_parser/v2"
"github.com/roadrunner-server/redis/v2"
+ "github.com/roadrunner-server/reload/v2"
+ "github.com/roadrunner-server/resetter/v2"
+ rpcPlugin "github.com/roadrunner-server/rpc/v2"
+ "github.com/roadrunner-server/send/v2"
+ "github.com/roadrunner-server/server/v2"
+ "github.com/roadrunner-server/service/v2"
"github.com/roadrunner-server/sqs/v2"
"github.com/roadrunner-server/static/v2"
"github.com/roadrunner-server/status/v2"
@@ -78,6 +78,7 @@ func Plugins() []interface{} { //nolint:funlen
&prometheus.Plugin{},
&cache.Plugin{},
&send.Plugin{},
+ &proxyIP.Plugin{},
&fileserver.Plugin{},
// ===================