diff --git a/hosts/h/default.nix b/hosts/h/default.nix index 0d6c103..d639763 100644 --- a/hosts/h/default.nix +++ b/hosts/h/default.nix @@ -300,14 +300,11 @@ in { enableACME = true; root = "/var/www/suah.dev"; extraConfig = '' - location ~ / { + location / { proxy_pass https://publish.obsidian.md/serve?url=notes.suah.dev/; proxy_ssl_server_name on; } ''; - locations."/" = { - proxyWebsockets = true; - }; }; "suah.dev" = { forceSSL = true;