From 4ff663dfdf0f885c1cb1fff12906029396ecd8b8 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Fri, 10 Oct 2025 12:32:40 -0500 Subject: [PATCH] add blog site share --- hosts/h001/mods/trilium.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/hosts/h001/mods/trilium.nix b/hosts/h001/mods/trilium.nix index c3394cf..cc05344 100644 --- a/hosts/h001/mods/trilium.nix +++ b/hosts/h001/mods/trilium.nix @@ -50,12 +50,23 @@ in locations = { "/" = { proxyWebsockets = true; - recommendedProxySettings = true; proxyPass = "http://127.0.0.1:9111"; }; + }; + }; + "blog.joshuabell.xyz" = { + addSSL = true; + sslCertificate = "/var/lib/acme/joshuabell.xyz/fullchain.pem"; + sslCertificateKey = "/var/lib/acme/joshuabell.xyz/key.pem"; + locations = { "/share" = { proxyWebsockets = true; - recommendedProxySettings = true; + proxyPass = "http://127.0.0.1:9111"; + extraConfig = '' + auth_request off; + ''; + }; + "/assets" = { proxyPass = "http://127.0.0.1:9111"; extraConfig = '' auth_request off;