X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Fwebsites%2Fftp%2Fnassime.nix;h=3c982d3f4cebe217ecbd13e692368ed23afdced1;hb=7df420c27ebe7daaa4fd099c457ce9a9075b840e;hp=9ed8a809bb50be8c1751089b20a18754f9e8bcd3;hpb=daf64e3f7de98e4267823d14fa34891b27b5f657;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/websites/ftp/nassime.nix b/nixops/modules/websites/ftp/nassime.nix index 9ed8a80..3c982d3 100644 --- a/nixops/modules/websites/ftp/nassime.nix +++ b/nixops/modules/websites/ftp/nassime.nix @@ -14,15 +14,13 @@ in { services.webstats.sites = [ { name = "nassime.bouya.org"; } ]; security.acme.certs."ftp".extraDomains."nassime.bouya.org" = null; - security.acme.certs."nassime" = config.services.myCertificates.certConfig // { - domain = "nassime.bouya.org"; - }; services.websites.production.vhostConfs.nassime = { - certName = "nassime"; - hosts = ["nassime.bouya.org" ]; - root = varDir; - extraConfig = [ + certName = "nassime"; + certMainHost = "nassime.bouya.org"; + hosts = ["nassime.bouya.org" ]; + root = varDir; + extraConfig = [ '' Use Stats nassime.bouya.org ServerAdmin ${env.server_admin}