forked from poz/niksos
make caddy only turn on on a server
This commit is contained in:
parent
142cc28acc
commit
c0801f0a0b
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ in {
|
||||||
# };
|
# };
|
||||||
# } // cfg.extraSettings;
|
# } // cfg.extraSettings;
|
||||||
};
|
};
|
||||||
services.caddy = {
|
services.caddy = mkIf (username == "chmura") {
|
||||||
virtualHosts."sync.jacekpoz.pl".extraConfig = ''
|
virtualHosts."sync.jacekpoz.pl".extraConfig = ''
|
||||||
reverse_proxy * localhost:${toString port}
|
reverse_proxy * localhost:${toString port}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue