mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
generate basic caddy.json with empty http and https servers
This commit is contained in:
@@ -122,7 +122,7 @@ func (c *Config) SetDefaults() (*Config, error) {
|
||||
}
|
||||
|
||||
if cfg.CaddyfilePath == "" {
|
||||
cfg.CaddyfilePath = filepath.Join(cfg.DataDir, "caddy", "Caddyfile")
|
||||
cfg.CaddyfilePath = filepath.Join(cfg.DataDir, "caddy", "caddy.json")
|
||||
}
|
||||
|
||||
return &cfg, nil
|
||||
|
||||
Reference in New Issue
Block a user