diff options
Diffstat (limited to 'virtual/eldiron.nix')
-rw-r--r-- | virtual/eldiron.nix | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/virtual/eldiron.nix b/virtual/eldiron.nix index 172b369..62b8364 100644 --- a/virtual/eldiron.nix +++ b/virtual/eldiron.nix | |||
@@ -175,20 +175,20 @@ | |||
175 | "www.osteopathe-cc.fr" = null; | 175 | "www.osteopathe-cc.fr" = null; |
176 | }; | 176 | }; |
177 | }; | 177 | }; |
178 | # "connexionswing" = { | 178 | "connexionswing" = { |
179 | # webroot = "/var/lib/acme/acme-challenge"; | 179 | webroot = "/var/lib/acme/acme-challenge"; |
180 | # email = "ismael@bouya.org"; | 180 | email = "ismael@bouya.org"; |
181 | # domain = "connexionswing.com"; | 181 | domain = "connexionswing.com"; |
182 | # plugins = [ "cert.pem" "chain.pem" "fullchain.pem" "full.pem" "key.pem" "account_key.json" ]; | 182 | plugins = [ "cert.pem" "chain.pem" "fullchain.pem" "full.pem" "key.pem" "account_key.json" ]; |
183 | # postRun = '' | 183 | postRun = '' |
184 | # systemctl reload httpd.service | 184 | systemctl reload httpd.service |
185 | # ''; | 185 | ''; |
186 | # extraDomains = { | 186 | extraDomains = { |
187 | # "www.connexionswing.com" = null; | 187 | "www.connexionswing.com" = null; |
188 | # "sandetludo.com" = null; | 188 | "sandetludo.com" = null; |
189 | # "www.sandetludo.com" = null; | 189 | "www.sandetludo.com" = null; |
190 | # }; | 190 | }; |
191 | # }; | 191 | }; |
192 | }; | 192 | }; |
193 | 193 | ||
194 | services.openssh.extraConfig = '' | 194 | services.openssh.extraConfig = '' |
@@ -315,6 +315,7 @@ | |||
315 | mkdir -p /var/lib/goaccess/ludivinecassal.com | 315 | mkdir -p /var/lib/goaccess/ludivinecassal.com |
316 | mkdir -p /var/lib/goaccess/piedsjaloux.fr | 316 | mkdir -p /var/lib/goaccess/piedsjaloux.fr |
317 | mkdir -p /var/lib/goaccess/osteopathe-cc.fr | 317 | mkdir -p /var/lib/goaccess/osteopathe-cc.fr |
318 | mkdir -p /var/lib/goaccess/connexionswing.com | ||
318 | ''; | 319 | ''; |
319 | }; | 320 | }; |
320 | 321 | ||
@@ -472,6 +473,14 @@ | |||
472 | mypkgs.connexionswing_dev.apache.vhostConf | 473 | mypkgs.connexionswing_dev.apache.vhostConf |
473 | ]; | 474 | ]; |
474 | }) | 475 | }) |
476 | (withConf "connexionswing" // { | ||
477 | hostName = "connexionswing.com"; | ||
478 | serverAliases = [ "sandetludo.com" "www.connexionswing.com" "www.sandetludo.com" ]; | ||
479 | documentRoot = mypkgs.connexionswing_prod.webRoot; | ||
480 | extraConfig = builtins.concatStringsSep "\n" [ | ||
481 | mypkgs.connexionswing_prod.apache.vhostConf | ||
482 | ]; | ||
483 | }) | ||
475 | (withConf "eldiron" // { | 484 | (withConf "eldiron" // { |
476 | hostName = "ludivine.immae.eu"; | 485 | hostName = "ludivine.immae.eu"; |
477 | documentRoot = mypkgs.ludivinecassal_dev.webRoot; | 486 | documentRoot = mypkgs.ludivinecassal_dev.webRoot; |
@@ -659,6 +668,7 @@ | |||
659 | "5 0 * * * root ${stats "ludivinecassal.com" ./packages/ludivinecassal_goaccess.conf}" | 668 | "5 0 * * * root ${stats "ludivinecassal.com" ./packages/ludivinecassal_goaccess.conf}" |
660 | "5 0 * * * root ${stats "piedsjaloux.fr" ./packages/piedsjaloux_goaccess.conf}" | 669 | "5 0 * * * root ${stats "piedsjaloux.fr" ./packages/piedsjaloux_goaccess.conf}" |
661 | "5 0 * * * root ${stats "osteopathe-cc.fr" ./packages/chloe_goaccess.conf}" | 670 | "5 0 * * * root ${stats "osteopathe-cc.fr" ./packages/chloe_goaccess.conf}" |
671 | "5 0 * * * root ${stats "connexionswing.com" ./packages/connexionswing_goaccess.conf}" | ||
662 | ]; | 672 | ]; |
663 | }; | 673 | }; |
664 | 674 | ||