diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-02-16 13:55:40 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-02-16 13:55:40 +0900 |
commit | f8d40ed3c8b56b9d20a58cb95a52703379ec6ee0 (patch) | |
tree | 6aa718f2d1eed3fd883a63da6b1674a94eeb74e7 | |
parent | 1e2d08072b1fb363b2ba63c6ea969bda729d5363 (diff) | |
download | nixos-conf-f8d40ed3c8b56b9d20a58cb95a52703379ec6ee0.tar.gz |
Set up photo gallery for cnx (me!)
-rw-r--r-- | static.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/static.nix b/static.nix index 2a27b66..06a10e4 100644 --- a/static.nix +++ b/static.nix @@ -82,6 +82,18 @@ in { root = "/var/lib/www/cnx.gdn"; }; + "px.cnx.gdn" = { + enableACME = true; + forceSSL = true; + locations = { + "/".index = "index.xhtml"; + "~ /index.xhtml$".extraConfig = '' + expires -1; + ''; + }; + root = "/var/lib/www/px.cnx.gdn"; + }; + "septagram.suricrasia.online" = { enableACME = true; extraConfig = '' |