mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	取消默认反向代理默认的50X重试
This commit is contained in:
		@@ -232416,7 +232416,7 @@
 | 
			
		||||
      "name": "edgeReverseProxies",
 | 
			
		||||
      "engine": "InnoDB",
 | 
			
		||||
      "charset": "utf8mb4_general_ci",
 | 
			
		||||
      "definition": "CREATE TABLE `edgeReverseProxies` (\n  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',\n  `adminId` int(11) unsigned DEFAULT '0' COMMENT '管理员ID',\n  `userId` int(11) unsigned DEFAULT '0' COMMENT '用户ID',\n  `templateId` int(11) unsigned DEFAULT '0' COMMENT '模版ID',\n  `isOn` tinyint(1) unsigned DEFAULT '1' COMMENT '是否启用',\n  `scheduling` json DEFAULT NULL COMMENT '调度算法',\n  `primaryOrigins` json DEFAULT NULL COMMENT '主要源站',\n  `backupOrigins` json DEFAULT NULL COMMENT '备用源站',\n  `stripPrefix` varchar(255) DEFAULT NULL COMMENT '去除URL前缀',\n  `requestHostType` tinyint(1) unsigned DEFAULT '0' COMMENT '请求Host类型',\n  `requestHost` varchar(255) DEFAULT NULL COMMENT '请求Host',\n  `requestHostExcludingPort` tinyint(1) unsigned DEFAULT '0' COMMENT '移除请求Host中的域名',\n  `requestURI` varchar(1024) DEFAULT NULL COMMENT '请求URI',\n  `autoFlush` tinyint(1) unsigned DEFAULT '0' COMMENT '是否自动刷新缓冲区',\n  `addHeaders` json DEFAULT NULL COMMENT '自动添加的Header列表',\n  `state` tinyint(1) unsigned DEFAULT '1' COMMENT '状态',\n  `createdAt` bigint(11) unsigned DEFAULT '0' COMMENT '创建时间',\n  `connTimeout` json DEFAULT NULL COMMENT '连接超时时间',\n  `readTimeout` json DEFAULT NULL COMMENT '读取超时时间',\n  `idleTimeout` json DEFAULT NULL COMMENT '空闲超时时间',\n  `maxConns` int(11) unsigned DEFAULT '0' COMMENT '最大并发连接数',\n  `maxIdleConns` int(11) unsigned DEFAULT '0' COMMENT '最大空闲连接数',\n  `proxyProtocol` json DEFAULT NULL COMMENT 'Proxy Protocol配置',\n  `followRedirects` tinyint(1) unsigned DEFAULT '0' COMMENT '回源跟随',\n  `retry50X` tinyint(1) unsigned DEFAULT '1' COMMENT '启用50X重试',\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='反向代理配置'",
 | 
			
		||||
      "definition": "CREATE TABLE `edgeReverseProxies` (\n  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',\n  `adminId` int(11) unsigned DEFAULT '0' COMMENT '管理员ID',\n  `userId` int(11) unsigned DEFAULT '0' COMMENT '用户ID',\n  `templateId` int(11) unsigned DEFAULT '0' COMMENT '模版ID',\n  `isOn` tinyint(1) unsigned DEFAULT '1' COMMENT '是否启用',\n  `scheduling` json DEFAULT NULL COMMENT '调度算法',\n  `primaryOrigins` json DEFAULT NULL COMMENT '主要源站',\n  `backupOrigins` json DEFAULT NULL COMMENT '备用源站',\n  `stripPrefix` varchar(255) DEFAULT NULL COMMENT '去除URL前缀',\n  `requestHostType` tinyint(1) unsigned DEFAULT '0' COMMENT '请求Host类型',\n  `requestHost` varchar(255) DEFAULT NULL COMMENT '请求Host',\n  `requestHostExcludingPort` tinyint(1) unsigned DEFAULT '0' COMMENT '移除请求Host中的域名',\n  `requestURI` varchar(1024) DEFAULT NULL COMMENT '请求URI',\n  `autoFlush` tinyint(1) unsigned DEFAULT '0' COMMENT '是否自动刷新缓冲区',\n  `addHeaders` json DEFAULT NULL COMMENT '自动添加的Header列表',\n  `state` tinyint(1) unsigned DEFAULT '1' COMMENT '状态',\n  `createdAt` bigint(11) unsigned DEFAULT '0' COMMENT '创建时间',\n  `connTimeout` json DEFAULT NULL COMMENT '连接超时时间',\n  `readTimeout` json DEFAULT NULL COMMENT '读取超时时间',\n  `idleTimeout` json DEFAULT NULL COMMENT '空闲超时时间',\n  `maxConns` int(11) unsigned DEFAULT '0' COMMENT '最大并发连接数',\n  `maxIdleConns` int(11) unsigned DEFAULT '0' COMMENT '最大空闲连接数',\n  `proxyProtocol` json DEFAULT NULL COMMENT 'Proxy Protocol配置',\n  `followRedirects` tinyint(1) unsigned DEFAULT '0' COMMENT '回源跟随',\n  `retry50X` tinyint(1) unsigned DEFAULT '0' COMMENT '启用50X重试',\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='反向代理配置'",
 | 
			
		||||
      "fields": [
 | 
			
		||||
        {
 | 
			
		||||
          "name": "id",
 | 
			
		||||
@@ -232516,7 +232516,7 @@
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "name": "retry50X",
 | 
			
		||||
          "definition": "tinyint(1) unsigned DEFAULT '1' COMMENT '启用50X重试'"
 | 
			
		||||
          "definition": "tinyint(1) unsigned DEFAULT '0' COMMENT '启用50X重试'"
 | 
			
		||||
        }
 | 
			
		||||
      ],
 | 
			
		||||
      "indexes": [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user