about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-07-30 08:57:49 +0700
committerNguyễn Gia Phong <cnx@loang.net>2023-07-30 11:13:34 +0900
commit3cd8577025c614cf7c12956031ff61c6a69ea9b1 (patch)
tree187fc2288d52d0a46418ce5fa82ff4fdf41a551c
parentd36a0b9d3b9ce64283b03469fd4f577c976e3390 (diff)
downloadnixos-conf-3cd8577025c614cf7c12956031ff61c6a69ea9b1.tar.gz
Add public domain books to the sites
-rw-r--r--static.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/static.nix b/static.nix
index 4bf71b4..85830e2 100644
--- a/static.nix
+++ b/static.nix
@@ -109,6 +109,15 @@ in {
           root = "/var/lib/www/septagram.suricrasia.online";
         };
 
+        "pd.books.xrvs.net" = {
+          enableACME = true;
+          extraConfig = ''
+            autoindex on;
+          '';
+          forceSSL = true;
+          root = "/var/lib/www/pd.books.xrvs.net";
+        };
+
         "xrvs.geek".root = "/var/lib/www/xrvs.geek";
       } // (let aliasOpenNIC = openNIC: icann: config: {
         ${openNIC} = {