fix: correct host proxy. always try before commit
This commit is contained in:
parent
b4bb50ab6c
commit
8b72b206ce
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ in
|
||||||
(lib.mkIf cfg.proxy.enable {
|
(lib.mkIf cfg.proxy.enable {
|
||||||
services.caddy = with cfg.proxy; {
|
services.caddy = with cfg.proxy; {
|
||||||
virtualHosts."${subdomain}.${domain}".extraConfig = ''
|
virtualHosts."${subdomain}.${domain}".extraConfig = ''
|
||||||
reverse_proxy http://host:9000
|
reverse_proxy http://${host}:9000
|
||||||
import cloudflare_${domain}
|
import cloudflare_${domain}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue