fix(core): update
This commit is contained in:
		| @@ -88,17 +88,19 @@ export let getHostConfigString = (hostNameArg: string, destinationIpArg: string) | ||||
| 		} | ||||
|  | ||||
| 		server { | ||||
| 			listen *:443 ssl; | ||||
| 			listen *:443 ssl http2; | ||||
| 			server_name ${hostNameArg}; | ||||
| 			ssl_certificate ${paths.nginxHostDirPath}/${hostNameArg}.public.pem; | ||||
| 			ssl_certificate_key ${paths.nginxHostDirPath}/${hostNameArg}.private.pem; | ||||
| 			location / { | ||||
| 				proxy_http_version 1.1; | ||||
| 				proxy_set_header Host $http_host; | ||||
| 				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_pass http://${hostNameArg}; | ||||
| 				http2_push_preload      on; | ||||
| 				proxy_http_version      1.1; | ||||
| 				proxy_redirect          off; | ||||
| 				proxy_set_header        Host $http_host; | ||||
| 				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_pass              http://${hostNameArg}; | ||||
| 			} | ||||
| 		} | ||||
| 	`); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user