ci: permament builder, https cache, proxy through cloudflared
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
19 files changed
+280
-78
No files matched your search
@@ -58,10 +58,7 @@ in
|
||||
systemd.services.caddy.serviceConfig.EnvironmentFile = config.secrix.system.secrets.cf-api-key.decrypted.path;
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
package = pkgs.caddy.withPlugins {
|
||||
plugins = [ "github.com/caddy-dns/cloudflare@v0.2.4" ];
|
||||
hash = "sha256-QSiwKqKvSxhksWBF4/MlBOpyXba5xOQ2sRwA0R7399E=";
|
||||
};
|
||||
package = pkgs.callPackage ../../pkgs/caddy-cloudflare.nix { };
|
||||
virtualHosts."*.${domain}".extraConfig = ''
|
||||
encode
|
||||
tls {
|
||||
@@ -89,7 +86,7 @@ in
|
||||
|
||||
@hass host hass.${domain}
|
||||
handle @hass {
|
||||
reverse_proxy homeassistant.4.lab.l.cazzzer.com:8123
|
||||
reverse_proxy homeassistant.4.lab.${vars.ldomain}:8123
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user