aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static.nix12
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 = ''