Merge branch 'trilium' of ssh://git.joshuabell.xyz:3032/ringofstorms/dotfiles into trilium
This commit is contained in:
commit
82178521d1
2 changed files with 13 additions and 2 deletions
|
|
@ -10,7 +10,7 @@
|
|||
validateURL = "https://sso.joshuabell.xyz/oauth2/";
|
||||
oidcIssuerUrl = "https://sso.joshuabell.xyz:443";
|
||||
keyFile = config.age.secrets.oauth2_proxy_zitadel_client_secret.path;
|
||||
# nginx.domain = "sso-proxy.joshuabell.xyz";
|
||||
nginx.domain = "sso-proxy.joshuabell.xyz";
|
||||
# email.domains = [ ];
|
||||
# extraConfig = {
|
||||
# whitelist-domain = ".joshuabell.xyz";
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue