From 92397eadb42982b3f6b39bdd468839f99ab0baed Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Sat, 4 Oct 2025 00:31:39 -0500 Subject: [PATCH] remove shit --- hosts/h001/mods/trilium.nix | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/hosts/h001/mods/trilium.nix b/hosts/h001/mods/trilium.nix index 2a36f21..e756d6f 100644 --- a/hosts/h001/mods/trilium.nix +++ b/hosts/h001/mods/trilium.nix @@ -23,22 +23,6 @@ proxyWebsockets = true; recommendedProxySettings = true; proxyPass = "http://127.0.0.1:9111"; - extraConfig = '' - auth_request /oauth2/auth; - error_page 401 = @error401; - - location = /oauth2/auth { - internal; - proxy_pass https://sso-proxy.joshuabell.xyz/oauth2/auth; - proxy_set_header Host sso-proxy.joshuabell.xyz; - proxy_set_header X-Auth-Request-Redirect $request_uri; - proxy_set_header X-Forwarded-Proto https; - } - - location @error401 { - return 302 https://sso-proxy.joshuabell.xyz/oauth2/start?rd=https://$host$request_uri; - } - ''; }; }; };