fix(core): update
This commit is contained in:
parent
826ae9f157
commit
6aaae7683b
@ -64,14 +64,14 @@ export let getBaseConfigString = (defaultProxy: string) => {
|
|||||||
##
|
##
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen *:80;
|
listen *:80 default_server;
|
||||||
server_name selfsigned.git.zone
|
server_name selfsigned.git.zone;
|
||||||
rewrite ^ ${defaultProxy} permanent;
|
rewrite ^ ${defaultProxy} permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen *:443 ssl;
|
listen *:443 ssl default_server;
|
||||||
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} permanent;
|
||||||
|
Loading…
Reference in New Issue
Block a user