22
0
mirror of https://github.com/SuperSandro2000/nixos-modules.git synced 2024-06-02 14:29:23 +02:00

portunus: take portunus domain for oauth2-proxy

This commit is contained in:
Sandro - 2023-12-10 00:56:05 +01:00
parent 16a0d77839
commit 28865ab38c
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -139,6 +139,9 @@ in
oauth2_proxy = lib.mkIf cfg.configureOAuth2Proxy {
enable = true;
inherit clientID;
nginx = {
inherit (config.services.portunus) domain;
};
provider = "oidc";
redirectURL = callbackURL;
reverseProxy = true;