diff --git a/hosts/plover/default.nix b/hosts/plover/default.nix index 0372a599..0f722499 100644 --- a/hosts/plover/default.nix +++ b/hosts/plover/default.nix @@ -158,11 +158,21 @@ in # Gitea instance. "${codeForgeDomain}" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://localhost:${toString config.services.gitea.httpPort}"; + }; + }; + + # Keycloak instance. + "${authDomain}" = { forceSSL = true; enableACME = true; locations = let keycloakPath = path: "http://localhost:${toString config.services.gitea.httpPort}${path}"; - in { + in + { "/realms".proxyPass = keycloakPath "/realms"; "/resources".proxyPass = keycloakPath "/resources"; "/robots.txt".proxyPass = keycloakPath "/robots.txt";