Single domain for public and tailscale
This commit is contained in:
parent
4bc15a5913
commit
7f5cab32e1
6 changed files with 24 additions and 54 deletions
|
|
@ -107,7 +107,7 @@ in
|
|||
|
||||
(lib.mkIf cfg.proxy.enable {
|
||||
services.caddy = with cfg.proxy; {
|
||||
virtualHosts."${subdomain}.${domain}".extraConfig = ''
|
||||
virtualHosts."${subdomain}.ts.${domain}".extraConfig = ''
|
||||
reverse_proxy http://${host}:9090
|
||||
import cloudflare_${domain}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue