diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-06-01 12:51:51 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-06-01 13:32:32 +0200 |
commit | 29f8cb850d74b456d6481a456311bbf5361d328c (patch) | |
tree | 2bdcdc21780950683d0528da66b050f2a24e3b20 /modules/private/websites/ludivinecassal | |
parent | 2e48907d64491a06454b342a1a56d03a0835753d (diff) | |
download | Nix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.gz Nix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.zst Nix-29f8cb850d74b456d6481a456311bbf5361d328c.zip |
Refactor websites options
Diffstat (limited to 'modules/private/websites/ludivinecassal')
-rw-r--r-- | modules/private/websites/ludivinecassal/integration.nix | 4 | ||||
-rw-r--r-- | modules/private/websites/ludivinecassal/production.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/private/websites/ludivinecassal/integration.nix b/modules/private/websites/ludivinecassal/integration.nix index f0ef3a6..bc05d9b 100644 --- a/modules/private/websites/ludivinecassal/integration.nix +++ b/modules/private/websites/ludivinecassal/integration.nix | |||
@@ -20,8 +20,8 @@ in { | |||
20 | services.phpfpm.poolConfigs.ludivinecassal_dev = ludivinecassal.phpFpm.pool; | 20 | services.phpfpm.poolConfigs.ludivinecassal_dev = ludivinecassal.phpFpm.pool; |
21 | system.activationScripts.ludivinecassal_dev = ludivinecassal.activationScript; | 21 | system.activationScripts.ludivinecassal_dev = ludivinecassal.activationScript; |
22 | myServices.websites.webappDirs."${ludivinecassal.apache.webappName}" = ludivinecassal.app.webRoot; | 22 | myServices.websites.webappDirs."${ludivinecassal.apache.webappName}" = ludivinecassal.app.webRoot; |
23 | services.websites.integration.modules = ludivinecassal.apache.modules; | 23 | services.websites.env.integration.modules = ludivinecassal.apache.modules; |
24 | services.websites.integration.vhostConfs.ludivine = { | 24 | services.websites.env.integration.vhostConfs.ludivine = { |
25 | certName = "eldiron"; | 25 | certName = "eldiron"; |
26 | addToCerts = true; | 26 | addToCerts = true; |
27 | hosts = [ "ludivine.immae.eu" ]; | 27 | hosts = [ "ludivine.immae.eu" ]; |
diff --git a/modules/private/websites/ludivinecassal/production.nix b/modules/private/websites/ludivinecassal/production.nix index 6a22d98..9d8407d 100644 --- a/modules/private/websites/ludivinecassal/production.nix +++ b/modules/private/websites/ludivinecassal/production.nix | |||
@@ -21,8 +21,8 @@ in { | |||
21 | services.phpfpm.poolConfigs.ludivinecassal_prod = ludivinecassal.phpFpm.pool; | 21 | services.phpfpm.poolConfigs.ludivinecassal_prod = ludivinecassal.phpFpm.pool; |
22 | system.activationScripts.ludivinecassal_prod = ludivinecassal.activationScript; | 22 | system.activationScripts.ludivinecassal_prod = ludivinecassal.activationScript; |
23 | myServices.websites.webappDirs."${ludivinecassal.apache.webappName}" = ludivinecassal.app.webRoot; | 23 | myServices.websites.webappDirs."${ludivinecassal.apache.webappName}" = ludivinecassal.app.webRoot; |
24 | services.websites.production.modules = ludivinecassal.apache.modules; | 24 | services.websites.env.production.modules = ludivinecassal.apache.modules; |
25 | services.websites.production.vhostConfs.ludivine = { | 25 | services.websites.env.production.vhostConfs.ludivine = { |
26 | certName = "ludivinecassal"; | 26 | certName = "ludivinecassal"; |
27 | certMainHost = "ludivinecassal.com"; | 27 | certMainHost = "ludivinecassal.com"; |
28 | hosts = ["ludivinecassal.com" "www.ludivinecassal.com" ]; | 28 | hosts = ["ludivinecassal.com" "www.ludivinecassal.com" ]; |