about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-08-17 03:04:35 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-08-17 03:04:35 +0900
commitcfdeb163d75cca62fbe1e9c6a05afd5701242bf2 (patch)
tree562e2d858167c7465ab2cec9d7e6f172ab3be504
parentaeb4a96dd9368c7f199b3755e4652d67cd1354d8 (diff)
downloadnixos-conf-cfdeb163d75cca62fbe1e9c6a05afd5701242bf2.tar.gz
Give cnx nginx vhost
-rw-r--r--static.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/static.nix b/static.nix
index 5a7ad07..0a117d5 100644
--- a/static.nix
+++ b/static.nix
@@ -76,6 +76,12 @@ in {
           locations."/".proxyPass = address;
         };
 
+        "cnx.gdn" = {
+          enableACME = true;
+          forceSSL = true;
+          root = "/var/lib/www/cnx.gdn";
+        };
+
         "septagram.suricrasia.online" = {
           enableACME = true;
           extraConfig = ''