diff options
author | Valery Piashchynski <[email protected]> | 2021-06-03 19:39:37 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-03 19:39:37 +0300 |
commit | 3b06949c7e9a1fc5b2aec7529a97320a6f398535 (patch) | |
tree | 606fc636933e686762354aadde7ee171aa861094 /plugins/http | |
parent | 9c01e7ab1548e1416598b702d63866fa6dc5707b (diff) |
- Use fcgi in the applyMiddlewares for the fcgi, not https
- Add tests
Diffstat (limited to 'plugins/http')
-rw-r--r-- | plugins/http/serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/serve.go b/plugins/http/serve.go index bf1ccafe..6d3f2228 100644 --- a/plugins/http/serve.go +++ b/plugins/http/serve.go @@ -73,7 +73,7 @@ func (p *Plugin) serveFCGI(errCh chan error) { const op = errors.Op("serveFCGI") if len(p.mdwr) > 0 { - applyMiddlewares(p.https, p.mdwr, p.cfg.Middleware, p.log) + applyMiddlewares(p.fcgi, p.mdwr, p.cfg.Middleware, p.log) } l, err := utils.CreateListener(p.cfg.FCGIConfig.Address) |