fix nginx conf linking failing
This commit is contained in:
parent
43feec227c
commit
2fa4ab9b12
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ server {
|
|||
const conf_file_path = path.join(conf_dir, domain + ".conf");
|
||||
const enabled_conf_file_path = path.join(this.enabled_conf_dir, domain + ".conf");
|
||||
await Deno.writeTextFile(conf_file_path, conf_file_content);
|
||||
await Deno.remove(enabled_conf_file_path, { recursive: true });
|
||||
await run("ln", "-s", await Deno.realPath(conf_file_path), enabled_conf_file_path);
|
||||
await this.reload();
|
||||
return conf_file_path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue