fix(core): update
This commit is contained in:
parent
e3817f92c7
commit
d2d4ad70ce
@ -66,7 +66,7 @@ export let getBaseConfigString = (defaultProxy: string) => {
|
|||||||
server {
|
server {
|
||||||
listen *:80 default_server;
|
listen *:80 default_server;
|
||||||
server_name selfsigned.git.zone;
|
server_name selfsigned.git.zone;
|
||||||
rewrite ^ ${defaultProxy} permanent;
|
rewrite ^ ${defaultProxy} redirect;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
@ -74,7 +74,7 @@ export let getBaseConfigString = (defaultProxy: string) => {
|
|||||||
server_name selfsigned.git.zone;
|
server_name selfsigned.git.zone;
|
||||||
ssl_certificate ${paths.nginxHostDirPath}/default.public.pem;
|
ssl_certificate ${paths.nginxHostDirPath}/default.public.pem;
|
||||||
ssl_certificate_key ${paths.nginxHostDirPath}/default.private.pem;
|
ssl_certificate_key ${paths.nginxHostDirPath}/default.private.pem;
|
||||||
rewrite ^ ${defaultProxy} permanent;
|
rewrite ^ ${defaultProxy} redirect;
|
||||||
}
|
}
|
||||||
|
|
||||||
include ${paths.nginxHostDirPath}/*.conf;
|
include ${paths.nginxHostDirPath}/*.conf;
|
||||||
|
Loading…
Reference in New Issue
Block a user