源站支持404内容自动重试其他源站

This commit is contained in:
刘祥超
2023-11-15 19:05:04 +08:00
parent 4a0fec6e35
commit e440a46080
5 changed files with 38 additions and 26 deletions

View File

@@ -102,6 +102,7 @@ func (this *SettingAction) RunPost(params struct {
FollowRedirects: reverseProxyConfig.FollowRedirects,
ProxyProtocolJSON: proxyProtocolJSON,
Retry50X: reverseProxyConfig.Retry50X,
Retry40X: reverseProxyConfig.Retry40X,
})
if err != nil {
this.ErrorPage(err)