diff --git a/bio-char-lt.ngx.ts b/bio-char-lt.ngx.ts index 1e3a652..75cc5f1 100644 --- a/bio-char-lt.ngx.ts +++ b/bio-char-lt.ngx.ts @@ -11,8 +11,8 @@ export const config = ngx("server", [ 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) { - config.write(path); + config.write(`/etc/nginx/http.d/${path}`); }