fix(core): update
This commit is contained in:
parent
5ff0980908
commit
b4378e305a
@ -78,15 +78,6 @@ export let getHostConfigString = (hostNameArg: string, destinationIpArg: string,
|
|||||||
server ${destinationIpArg}:${destinationPortArg};
|
server ${destinationIpArg}:${destinationPortArg};
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
|
||||||
# The keepalive parameter sets the maximum number of idle keepalive connections
|
|
||||||
# to upstream servers that are preserved in the cache of each worker process. When
|
|
||||||
# this number is exceeded, the least recently used connections are closed.
|
|
||||||
listen *:80 ;
|
|
||||||
server_name ${hostNameArg};
|
|
||||||
rewrite ^ https://${hostNameArg}$request_uri? permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen *:443 ssl;
|
listen *:443 ssl;
|
||||||
server_name ${hostNameArg};
|
server_name ${hostNameArg};
|
||||||
|
Loading…
Reference in New Issue
Block a user