fix forgejo error

This commit is contained in:
Ingolf Wagner 2024-05-10 23:18:04 +02:00
parent 0aac16e831
commit 2859b2747d
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
deny all; deny all;
''; '';
locations."/" = { locations."/" = {
proxyPass = "http://localhost:${toString config.services.gogs.httpPort}"; proxyPass = "http://localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}";
}; };
}; };
}; };

View file

@ -9,7 +9,7 @@
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:${toString config.services.forgejo.httpPort}"; proxyPass = "http://localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}";
}; };
}; };
}; };