aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/immae/production.nix
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/immae/production.nix
parent2e48907d64491a06454b342a1a56d03a0835753d (diff)
downloadNix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.gz
Nix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.zst
Nix-29f8cb850d74b456d6481a456311bbf5361d328c.zip
Refactor websites options
Diffstat (limited to 'modules/private/websites/immae/production.nix')
-rw-r--r--modules/private/websites/immae/production.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix
index c3cabb6..3c851e6 100644
--- a/modules/private/websites/immae/production.nix
+++ b/modules/private/websites/immae/production.nix
@@ -22,8 +22,8 @@ in {
22 22
23 php_admin_value[open_basedir] = "${varDir}:/tmp" 23 php_admin_value[open_basedir] = "${varDir}:/tmp"
24 ''; 24 '';
25 services.websites.production.modules = [ "proxy_fcgi" ]; 25 services.websites.env.production.modules = [ "proxy_fcgi" ];
26 services.websites.production.vhostConfs.immae = { 26 services.websites.env.production.vhostConfs.immae = {
27 certName = "eldiron"; 27 certName = "eldiron";
28 addToCerts = true; 28 addToCerts = true;
29 hosts = [ "www.immae.eu" ]; 29 hosts = [ "www.immae.eu" ];
@@ -51,7 +51,7 @@ in {
51 ]; 51 ];
52 }; 52 };
53 53
54 services.websites.production.vhostConfs.bouya = { 54 services.websites.env.production.vhostConfs.bouya = {
55 certName = "eldiron"; 55 certName = "eldiron";
56 addToCerts = true; 56 addToCerts = true;
57 hosts = [ "bouya.org" "www.bouya.org" ]; 57 hosts = [ "bouya.org" "www.bouya.org" ];