From daf64e3f7de98e4267823d14fa34891b27b5f657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 14 May 2019 08:47:00 +0200 Subject: Start moving websites configuration to modules --- nixops/modules/websites/piedsjaloux/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nixops/modules/websites/piedsjaloux') diff --git a/nixops/modules/websites/piedsjaloux/default.nix b/nixops/modules/websites/piedsjaloux/default.nix index 10c1f6c..6ffb19c 100644 --- a/nixops/modules/websites/piedsjaloux/default.nix +++ b/nixops/modules/websites/piedsjaloux/default.nix @@ -40,8 +40,8 @@ in { mkdir -p $out/webapps ln -s ${piedsjaloux_prod.app.webRoot} $out/webapps/${piedsjaloux_prod.apache.webappName} ''; - services.myWebsites.production.modules = piedsjaloux_prod.apache.modules; - services.myWebsites.production.vhostConfs.piedsjaloux = { + services.websites.production.modules = piedsjaloux_prod.apache.modules; + services.websites.production.vhostConfs.piedsjaloux = { certName = "piedsjaloux"; hosts = [ "piedsjaloux.fr" "www.piedsjaloux.fr" ]; root = piedsjaloux_prod.apache.root; @@ -59,8 +59,8 @@ in { mkdir -p $out/webapps ln -s ${piedsjaloux_dev.app.webRoot} $out/webapps/${piedsjaloux_dev.apache.webappName} ''; - services.myWebsites.integration.modules = piedsjaloux_dev.apache.modules; - services.myWebsites.integration.vhostConfs.piedsjaloux = { + services.websites.integration.modules = piedsjaloux_dev.apache.modules; + services.websites.integration.vhostConfs.piedsjaloux = { certName = "eldiron"; hosts = [ "piedsjaloux.immae.eu" ]; root = piedsjaloux_dev.apache.root; -- cgit v1.2.3