mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 14:14:52 +00:00
fix: write generated Caddyfile to disk only if succesfully loaded into local Caddy (means valid)
This commit is contained in:
1 parent
97bdb8eae1
commit
7b88b8b810
4 files changed
+77
-23
No files matched your search
@@ -926,7 +926,8 @@ http://api.example.com {
|
||||
log
|
||||
}
|
||||
|
||||
# NOTE: User-defined configs for services were skipped because Caddy is not running on this machine.
|
||||
# NOTE: User-defined configs for services were skipped because Caddy is not running on this machine
|
||||
# or the latest generated config is invalid. Please check the Caddy logs if it's running.
|
||||
`,
|
||||
},
|
||||
{
|
||||
@@ -949,7 +950,8 @@ http://api.example.com {
|
||||
log
|
||||
}
|
||||
|
||||
# NOTE: User-defined configs for services were skipped because Caddy is not running on this machine.
|
||||
# NOTE: User-defined configs for services were skipped because Caddy is not running on this machine
|
||||
# or the latest generated config is invalid. Please check the Caddy logs if it's running.
|
||||
`,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user