aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-06-07 19:11:07 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-06-07 19:13:09 +0200
commit63500b22b4d274abf209b7b6e13e36564f42ecbe (patch)
tree9a580a2dc8ad2d1660e24b9ce9dba851f09b94f7 /modules
parent31e11cdfcb4455f51c8db27958d6ae8db8820401 (diff)
downloadNix-63500b22b4d274abf209b7b6e13e36564f42ecbe.tar.gz
Nix-63500b22b4d274abf209b7b6e13e36564f42ecbe.tar.zst
Nix-63500b22b4d274abf209b7b6e13e36564f42ecbe.zip
Add dev pages
Diffstat (limited to 'modules')
-rw-r--r--modules/private/system/dilion.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/private/system/dilion.nix b/modules/private/system/dilion.nix
index 977d427..9afa057 100644
--- a/modules/private/system/dilion.nix
+++ b/modules/private/system/dilion.nix
@@ -116,6 +116,7 @@
116 extraDomains = { 116 extraDomains = {
117 "discourse.immae.eu" = null; 117 "discourse.immae.eu" = null;
118 "discourse.cip-ca.fr" = null; 118 "discourse.cip-ca.fr" = null;
119 "dev.immae.eu" = null;
119 }; 120 };
120 }; 121 };
121 services.nginx = { 122 services.nginx = {
@@ -124,6 +125,12 @@
124 recommendedGzipSettings = true; 125 recommendedGzipSettings = true;
125 recommendedProxySettings = true; 126 recommendedProxySettings = true;
126 virtualHosts = { 127 virtualHosts = {
128 "dev.immae.eu" = {
129 acmeRoot = config.myServices.certificates.webroot;
130 useACMEHost = name;
131 forceSSL = true;
132 root = "/home/immae/www";
133 };
127 "discourse.immae.eu" = { 134 "discourse.immae.eu" = {
128 acmeRoot = config.myServices.certificates.webroot; 135 acmeRoot = config.myServices.certificates.webroot;
129 useACMEHost = name; 136 useACMEHost = name;