fix(core): update
This commit is contained in:
		| @@ -75,7 +75,7 @@ export let getHostConfigString = (hostNameArg: string, destinationIpArg: string, | |||||||
|   const hostConfig = plugins.smartstring.indent.normalize(` |   const hostConfig = plugins.smartstring.indent.normalize(` | ||||||
| 		upstream ${hostNameArg} { | 		upstream ${hostNameArg} { | ||||||
| 			keepalive 100; | 			keepalive 100; | ||||||
| 			server ${destinationIpArg}; | 			server ${destinationIpArg}:${destinationPortArg}; | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		server { | 		server { | ||||||
| @@ -101,7 +101,7 @@ export let getHostConfigString = (hostNameArg: string, destinationIpArg: string, | |||||||
| 				proxy_set_header        X-Real-IP $remote_addr; | 				proxy_set_header        X-Real-IP $remote_addr; | ||||||
| 				proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for; | 				proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for; | ||||||
| 				proxy_set_header        X-Forwarded-Proto $scheme; | 				proxy_set_header        X-Forwarded-Proto $scheme; | ||||||
| 				proxy_pass              http://${hostNameArg}:${destinationPortArg}; | 				proxy_pass              http://${hostNameArg}; | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 	`); | 	`); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user