summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey Frolov <[email protected]>2017-08-17 18:46:43 -0400
committerSergey Frolov <[email protected]>2017-08-18 12:25:39 -0400
commita7498bee68a17e93ad1d0d2bc6f42f3e9c3a04fb (patch)
tree804132c6fec8d155ee6c12b80b92ae85f758ae52
parent261547b42c8e566467b3f6fbcb33cb2c9f6dc2ed (diff)
downloadcaddy-a7498bee68a17e93ad1d0d2bc6f42f3e9c3a04fb.tar.gz
caddy-a7498bee68a17e93ad1d0d2bc6f42f3e9c3a04fb.zip
Add forwardproxy to directives' list
-rw-r--r--caddyhttp/httpserver/plugin.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/caddyhttp/httpserver/plugin.go b/caddyhttp/httpserver/plugin.go
index 65ccab737..0bac0c069 100644
--- a/caddyhttp/httpserver/plugin.go
+++ b/caddyhttp/httpserver/plugin.go
@@ -459,13 +459,14 @@ var directives = []string{
"gzip",
"header",
"errors",
- "authz", // github.com/casbin/caddy-authz
- "filter", // github.com/echocat/caddy-filter
- "minify", // github.com/hacdias/caddy-minify
- "ipfilter", // github.com/pyed/ipfilter
- "ratelimit", // github.com/xuqingfeng/caddy-rate-limit
- "search", // github.com/pedronasser/caddy-search
- "expires", // github.com/epicagency/caddy-expires
+ "authz", // github.com/casbin/caddy-authz
+ "filter", // github.com/echocat/caddy-filter
+ "minify", // github.com/hacdias/caddy-minify
+ "ipfilter", // github.com/pyed/ipfilter
+ "ratelimit", // github.com/xuqingfeng/caddy-rate-limit
+ "search", // github.com/pedronasser/caddy-search
+ "expires", // github.com/epicagency/caddy-expires
+ "forwardproxy", // github.com/caddyserver/forwardproxy
"basicauth",
"redir",
"status",