From 9ed5749eba197c0cc740c46db34010828f1b9839 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Thu, 22 Sep 2022 08:28:35 -0600 Subject: [PATCH] h: add redirect for notes.suah.dev --- hosts/h/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/h/default.nix b/hosts/h/default.nix index c12eb84..995fc3f 100644 --- a/hosts/h/default.nix +++ b/hosts/h/default.nix @@ -295,6 +295,15 @@ in { proxyPass = "http://localhost:9009/weechat"; }; }; + "notes.suah.dev" = { + forceSSL = true; + enableACME = true; + root = "/var/www/suah.dev"; + locations."/" = { + proxyWebsockets = true; + proxyPass = "https://publish.obsidian.md/serve?url=notes.suah.dev/"; + }; + }; "suah.dev" = { forceSSL = true; enableACME = true;