From f8d40ed3c8b56b9d20a58cb95a52703379ec6ee0 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 16 Feb 2023 13:55:40 +0900 Subject: Set up photo gallery for cnx (me!) --- static.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'static.nix') 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 = '' -- cgit 1.4.1