aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;