diff --git a/modules/server/services/forgejo/pages.nix b/modules/server/services/forgejo/pages.nix index 14c4ffbf..817dfaba 100644 --- a/modules/server/services/forgejo/pages.nix +++ b/modules/server/services/forgejo/pages.nix @@ -130,8 +130,10 @@ in { users.groups = mkIf (cfg.group == "codeberg-pages") { codeberg-pages = { }; }; - services.nginx.virtualHosts."*.pages.sako.lol" = { - locations."/" = { proxyPass = "http://localhost:4563"; }; + services.nginx.virtualHosts = { + "pages.sako.lol" = { + locations."/" = { proxyPass = "http://localhost:4563"; }; + }; }; }; }