实现回源跟随功能

This commit is contained in:
GoEdgeLab
2022-03-14 15:07:49 +08:00
parent 0dce5468f4
commit f0541994bf
6 changed files with 14 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ func (this *SettingAction) RunPost(params struct {
MaxConns: types.Int32(reverseProxyConfig.MaxConns),
MaxIdleConns: types.Int32(reverseProxyConfig.MaxIdleConns),
ProxyProtocolJSON: proxyProtocolJSON,
FollowRedirects: reverseProxyConfig.FollowRedirects,
})
if err != nil {
this.ErrorPage(err)