hosts/plover: fix erroneous function

I haven't obviously tested the related changes since the server was down
at the time.
This commit is contained in:
Gabriel Arazas 2023-01-19 07:57:26 +08:00
parent 875c910e61
commit 2ee3f755fd

View File

@ -76,8 +76,9 @@ in
keycloakPath = path: "http://localhost:${toString config.services.keycloak.settings.http-port}"; keycloakPath = path: "http://localhost:${toString config.services.keycloak.settings.http-port}";
in in
lib.listToAttrs lib.listToAttrs
(lib.lists.map
(appPath: lib.nameValuePair appPath { proxyPass = keycloakPath appPath; }) (appPath: lib.nameValuePair appPath { proxyPass = keycloakPath appPath; })
[ "/js/" "/realms/" "/resources/" "/robots.txt" ]; [ "/js/" "/realms/" "/resources/" "/robots.txt" ]);
}; };
# Configuring fail2ban for this services which is only present as a neat # Configuring fail2ban for this services which is only present as a neat