mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
hosts/plover: update Portunus config
This commit is contained in:
parent
5ba2b6d846
commit
cc4d62af9f
@ -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}";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user