attempt trillium with oauth proxy

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-03 15:35:45 -05:00
parent e122f8d410
commit 189559a1b7
2 changed files with 13 additions and 2 deletions

View file

@ -13,7 +13,18 @@
};
systemd.services.trilium-server.environment = {
TRILIUM_NO_UPLOAD_LIMIT = true;
TRILIUM_NO_UPLOAD_LIMIT = "true";
};
services.oauth2-proxy.nginx.virtualHosts."notes.joshuabell.xyz".allowed_groups = [ "notes" ];
services.nginx.virtualHosts."notes.joshuabell.xyz" = {
locations = {
"/" = {
proxyWebsockets = true;
recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:9111";
};
};
};
# services.nginx = {