caddy support multi domain
This commit is contained in:
parent
f15e521895
commit
fdcc829acf
13 changed files with 344 additions and 141 deletions
|
|
@ -52,7 +52,7 @@ in
|
|||
services.caddy = with cfg.proxy; {
|
||||
virtualHosts."up.${domain}".extraConfig = ''
|
||||
reverse_proxy http://${host}:${port}
|
||||
import cloudflare
|
||||
import cloudflare_${domain}
|
||||
'';
|
||||
};
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue