Use preconfigured caddy with cloudflare plugin
This commit is contained in:
parent
c70439b9b9
commit
266be843bf
3 changed files with 3 additions and 15 deletions
|
@ -8,11 +8,7 @@
|
|||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
package = inputs.caddy-with-plugins.lib.caddyWithPackages {
|
||||
inherit (pkgs) caddy buildGoModule;
|
||||
plugins = [ "github.com/caddy-dns/cloudflare@2fa0c8ac916ab13ee14c836e59fec9d85857e429" ];
|
||||
vendorHash = "sha256-9ogaUKtczQ3U/BFdum+tD9kWJ9CH3amR4z2ozE324bY=";
|
||||
};
|
||||
package = inputs.caddy-with-plugins.packages.${pkgs.system}.caddy-with-cloudflare;
|
||||
|
||||
email = "erwin@datarift.nl";
|
||||
|
||||
|
|
|
@ -132,11 +132,7 @@
|
|||
|
||||
caddy = {
|
||||
enable = true;
|
||||
package = caddy-with-plugins.lib.caddyWithPackages {
|
||||
inherit (pkgs) caddy buildGoModule;
|
||||
plugins = [ "github.com/caddy-dns/cloudflare@74f004e1c1ab9056288f0baf3cd4b0039d6c77f3" ];
|
||||
vendorHash = "sha256-UYNFkGK4A7DJSmin4nCo9rUD60gx80e9YZodn7uEcUM=";
|
||||
};
|
||||
package = caddy-with-plugins.packages.${pkgs.system}.caddy-with-cloudflare;
|
||||
|
||||
email = "erwin@datarift.nl";
|
||||
|
||||
|
|
|
@ -18,11 +18,7 @@
|
|||
};
|
||||
caddy-proxy = {
|
||||
enable = true;
|
||||
package = caddy-with-plugins.lib.caddyWithPackages {
|
||||
inherit (pkgs) caddy buildGoModule;
|
||||
plugins = [ "github.com/caddy-dns/cloudflare@74f004e1c1ab9056288f0baf3cd4b0039d6c77f3" ];
|
||||
vendorHash = "sha256-UYNFkGK4A7DJSmin4nCo9rUD60gx80e9YZodn7uEcUM=";
|
||||
};
|
||||
package = caddy-with-plugins.packages.${pkgs.system}.caddy-with-cloudflare;
|
||||
proxyHosts = [
|
||||
{
|
||||
externalHostname = "home.datarift.nl";
|
||||
|
|
Loading…
Reference in a new issue