update ngx path variable
parent
846fffac03
commit
4915dd2be6
|
@ -11,8 +11,8 @@ export const config = ngx("server", [
|
||||||
ngx("location /", ["root /srv/http/bio.char.lt/public"]),
|
ngx("location /", ["root /srv/http/bio.char.lt/public"]),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
export const path = "/etc/nginx/http.d/bio-char-lt.conf";
|
export const path = "bio-char-lt.conf";
|
||||||
|
|
||||||
if (import.meta.main) {
|
if (import.meta.main) {
|
||||||
config.write(path);
|
config.write(`/etc/nginx/http.d/${path}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue