fix(core): update
This commit is contained in:
		| @@ -74,7 +74,7 @@ export let getBaseConfigString = () => { | ||||
| export let getHostConfigString = (hostNameArg: string, destinationIpArg: string) => { | ||||
|   let hostConfig = plugins.smartstring.indent.normalize(` | ||||
| 		upstream ${hostNameArg} { | ||||
| 			keepalive 15; | ||||
| 			keepalive 100; | ||||
| 			server ${destinationIpArg}; | ||||
| 		} | ||||
|  | ||||
| @@ -98,8 +98,6 @@ export let getHostConfigString = (hostNameArg: string, destinationIpArg: string) | ||||
| 				proxy_set_header X-Real-IP $remote_addr; | ||||
| 				proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||||
| 				proxy_set_header X-Forwarded-Proto $scheme; | ||||
| 				proxy_set_header Connection "Upgrade"; | ||||
|       	proxy_set_header Proxy-Connection "Keep-Alive"; | ||||
| 				proxy_pass http://${hostNameArg}; | ||||
| 			} | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user