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 = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.caddy-with-plugins.lib.caddyWithPackages {
|
package = inputs.caddy-with-plugins.packages.${pkgs.system}.caddy-with-cloudflare;
|
||||||
inherit (pkgs) caddy buildGoModule;
|
|
||||||
plugins = [ "github.com/caddy-dns/cloudflare@2fa0c8ac916ab13ee14c836e59fec9d85857e429" ];
|
|
||||||
vendorHash = "sha256-9ogaUKtczQ3U/BFdum+tD9kWJ9CH3amR4z2ozE324bY=";
|
|
||||||
};
|
|
||||||
|
|
||||||
email = "erwin@datarift.nl";
|
email = "erwin@datarift.nl";
|
||||||
|
|
||||||
|
|
|
@ -132,11 +132,7 @@
|
||||||
|
|
||||||
caddy = {
|
caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = caddy-with-plugins.lib.caddyWithPackages {
|
package = caddy-with-plugins.packages.${pkgs.system}.caddy-with-cloudflare;
|
||||||
inherit (pkgs) caddy buildGoModule;
|
|
||||||
plugins = [ "github.com/caddy-dns/cloudflare@74f004e1c1ab9056288f0baf3cd4b0039d6c77f3" ];
|
|
||||||
vendorHash = "sha256-UYNFkGK4A7DJSmin4nCo9rUD60gx80e9YZodn7uEcUM=";
|
|
||||||
};
|
|
||||||
|
|
||||||
email = "erwin@datarift.nl";
|
email = "erwin@datarift.nl";
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,7 @@
|
||||||
};
|
};
|
||||||
caddy-proxy = {
|
caddy-proxy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = caddy-with-plugins.lib.caddyWithPackages {
|
package = caddy-with-plugins.packages.${pkgs.system}.caddy-with-cloudflare;
|
||||||
inherit (pkgs) caddy buildGoModule;
|
|
||||||
plugins = [ "github.com/caddy-dns/cloudflare@74f004e1c1ab9056288f0baf3cd4b0039d6c77f3" ];
|
|
||||||
vendorHash = "sha256-UYNFkGK4A7DJSmin4nCo9rUD60gx80e9YZodn7uEcUM=";
|
|
||||||
};
|
|
||||||
proxyHosts = [
|
proxyHosts = [
|
||||||
{
|
{
|
||||||
externalHostname = "home.datarift.nl";
|
externalHostname = "home.datarift.nl";
|
||||||
|
|
Loading…
Reference in a new issue