Fix more issues

This commit is contained in:
ktkk 2025-10-20 20:08:36 +00:00
parent caaa4237cc
commit 0ff094c787
6 changed files with 12 additions and 8 deletions

View file

@ -9,7 +9,7 @@
'';
locations."/" = {
proxyPass = "http://${toString config.services.forgejo.settings.server.ROOT_URL}:${toString config.services.forgejo.settings.server.HTTP_PORT}";
proxyPass = "http://localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}";
proxyWebsockets = true;
@ -29,7 +29,7 @@
settings = {
server = {
DOMAIN = "git.katkak.dev";
ROOT_URL = "127.0.0.1";
ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}/";
HTTP_PORT = 3000;
};