setup forgejo

This commit is contained in:
xunuwu 2025-06-08 08:26:09 +02:00
parent 9e17ff86d9
commit 4ab3b20d9f
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
3 changed files with 26 additions and 0 deletions

View file

@ -33,6 +33,13 @@ in {
reverse_proxy ${hopper}
'';
};
forgejo = {
hostName = "git.${domain}";
useACMEHost = domain;
extraConfig = ''
reverse_proxy localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}
'';
};
other = {
extraConfig = ''
respond 404