it works!?
This commit is contained in:
parent
ff193e9ce7
commit
72e0759fa4
3 changed files with 53 additions and 20 deletions
|
|
@ -15,9 +15,18 @@
|
|||
extraConfig = {
|
||||
whitelist-domain = "*.joshuabell.xyz";
|
||||
cookie-domain = ".joshuabell.xyz";
|
||||
oidc-groups-claim = "flatRolesClaim";
|
||||
# scope = "openid email profiles";
|
||||
|
||||
# pass-access-token = "true";
|
||||
# set-authorization-header = "true";
|
||||
# pass-user-headers = "true";
|
||||
|
||||
# show-debug-on-error = "true";
|
||||
# errors-to-info-log = "true";
|
||||
};
|
||||
cookie.refresh = "30m";
|
||||
setXauthrequest = true;
|
||||
# setXauthrequest = true;
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."sso-proxy.joshuabell.xyz" = {
|
||||
|
|
|
|||
|
|
@ -28,24 +28,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
# services.nginx = {
|
||||
# virtualHosts = {
|
||||
# "trilium" = {
|
||||
# serverName = "h001.net.joshuabell.xyz";
|
||||
# listen = [
|
||||
# {
|
||||
# port = 9111;
|
||||
# addr = "0.0.0.0";
|
||||
# }
|
||||
# ];
|
||||
# locations."/" = {
|
||||
# proxyWebsockets = true;
|
||||
# recommendedProxySettings = true;
|
||||
# proxyPass = "http://127.0.0.1:9111";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue