aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/connexionswing
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-06-01 12:51:51 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-06-01 13:32:32 +0200
commit29f8cb850d74b456d6481a456311bbf5361d328c (patch)
tree2bdcdc21780950683d0528da66b050f2a24e3b20 /modules/private/websites/connexionswing
parent2e48907d64491a06454b342a1a56d03a0835753d (diff)
downloadNix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.gz
Nix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.zst
Nix-29f8cb850d74b456d6481a456311bbf5361d328c.zip
Refactor websites options
Diffstat (limited to 'modules/private/websites/connexionswing')
-rw-r--r--modules/private/websites/connexionswing/integration.nix4
-rw-r--r--modules/private/websites/connexionswing/production.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/private/websites/connexionswing/integration.nix b/modules/private/websites/connexionswing/integration.nix
index 7d77ac7..795d532 100644
--- a/modules/private/websites/connexionswing/integration.nix
+++ b/modules/private/websites/connexionswing/integration.nix
@@ -23,8 +23,8 @@ in {
23 }; 23 };
24 system.activationScripts.connexionswing_dev = connexionswing.activationScript; 24 system.activationScripts.connexionswing_dev = connexionswing.activationScript;
25 myServices.websites.webappDirs."${connexionswing.apache.webappName}" = connexionswing.app.webRoot; 25 myServices.websites.webappDirs."${connexionswing.apache.webappName}" = connexionswing.app.webRoot;
26 services.websites.integration.modules = connexionswing.apache.modules; 26 services.websites.env.integration.modules = connexionswing.apache.modules;
27 services.websites.integration.vhostConfs.connexionswing = { 27 services.websites.env.integration.vhostConfs.connexionswing = {
28 certName = "eldiron"; 28 certName = "eldiron";
29 addToCerts = true; 29 addToCerts = true;
30 hosts = ["connexionswing.immae.eu" "sandetludo.immae.eu" ]; 30 hosts = ["connexionswing.immae.eu" "sandetludo.immae.eu" ];
diff --git a/modules/private/websites/connexionswing/production.nix b/modules/private/websites/connexionswing/production.nix
index f4cb377..07647da 100644
--- a/modules/private/websites/connexionswing/production.nix
+++ b/modules/private/websites/connexionswing/production.nix
@@ -25,8 +25,8 @@ in {
25 }; 25 };
26 system.activationScripts.connexionswing_prod = connexionswing.activationScript; 26 system.activationScripts.connexionswing_prod = connexionswing.activationScript;
27 myServices.websites.webappDirs."${connexionswing.apache.webappName}" = connexionswing.app.webRoot; 27 myServices.websites.webappDirs."${connexionswing.apache.webappName}" = connexionswing.app.webRoot;
28 services.websites.production.modules = connexionswing.apache.modules; 28 services.websites.env.production.modules = connexionswing.apache.modules;
29 services.websites.production.vhostConfs.connexionswing = { 29 services.websites.env.production.vhostConfs.connexionswing = {
30 certName = "connexionswing"; 30 certName = "connexionswing";
31 certMainHost = "connexionswing.com"; 31 certMainHost = "connexionswing.com";
32 hosts = ["connexionswing.com" "sandetludo.com" "www.connexionswing.com" "www.sandetludo.com" ]; 32 hosts = ["connexionswing.com" "sandetludo.com" "www.connexionswing.com" "www.sandetludo.com" ];