hosts/plover: update Portunus config

This commit is contained in:
Gabriel Arazas 2023-02-10 10:15:14 +08:00
parent 5ba2b6d846
commit cc4d62af9f
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -16,7 +16,6 @@ in
ldap = { ldap = {
searchUserName = "admin"; searchUserName = "admin";
suffix = "dc=foodogsquared,dc=one"; suffix = "dc=foodogsquared,dc=one";
tls = true;
}; };
seedPath = seedPath =
@ -38,7 +37,7 @@ in
login_name = "foodogsquared"; login_name = "foodogsquared";
given_name = "Gabriel"; given_name = "Gabriel";
family_name = "Arazas"; family_name = "Arazas";
email = "foodogsquared@${config.networking.domain}"; email = "foodogsquared@foodogsquared.one";
ssh_public_keys = ssh_public_keys =
let let
readFiles = list: lib.lists.map (path: lib.readFile path) list; readFiles = list: lib.lists.map (path: lib.readFile path) list;
@ -58,8 +57,6 @@ in
# Getting this to be accessible in the reverse proxy of choice. # Getting this to be accessible in the reverse proxy of choice.
services.nginx.virtualHosts."${ldapDomain}" = { services.nginx.virtualHosts."${ldapDomain}" = {
forceSSL = true;
enableACME = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:${toString config.services.portunus.port}"; proxyPass = "http://localhost:${toString config.services.portunus.port}";
}; };