fix(core): update

This commit is contained in:
Philipp Kunz 2019-08-14 13:06:04 +02:00
parent e3817f92c7
commit d2d4ad70ce

View File

@ -66,7 +66,7 @@ export let getBaseConfigString = (defaultProxy: string) => {
server {
listen *:80 default_server;
server_name selfsigned.git.zone;
rewrite ^ ${defaultProxy} permanent;
rewrite ^ ${defaultProxy} redirect;
}
server {
@ -74,7 +74,7 @@ export let getBaseConfigString = (defaultProxy: string) => {
server_name selfsigned.git.zone;
ssl_certificate ${paths.nginxHostDirPath}/default.public.pem;
ssl_certificate_key ${paths.nginxHostDirPath}/default.private.pem;
rewrite ^ ${defaultProxy} permanent;
rewrite ^ ${defaultProxy} redirect;
}
include ${paths.nginxHostDirPath}/*.conf;