feat: replace gitea with forgejo and move to MOMO

This commit is contained in:
Jacob Bachmann 2025-12-05 15:35:09 +01:00
parent 87903828aa
commit 157dc93980
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
10 changed files with 50 additions and 63 deletions

View file

@ -1,4 +1,4 @@
{ ... }:
{ config, ... }:
{
services.nginx = {
enable = true;
@ -8,11 +8,18 @@
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."hedgedoc.dryb.org" = {
virtualHosts."${config.services.forgejo.settings.server.DOMAIN}" = {
addSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8009";
proxyPass = "http://127.0.0.1:8003";
};
};
virtualHosts."vaultwarden.dryb.org" = {
addSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8005";
};
};
virtualHosts."miniflux.dryb.org" = {
@ -22,6 +29,13 @@
proxyPass = "http://127.0.0.1:8008";
};
};
virtualHosts."hedgedoc.dryb.org" = {
addSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8009";
};
};
virtualHosts."syncthing.dryb.org" = {
addSSL = true;
enableACME = true;
@ -29,13 +43,6 @@
proxyPass = "http://127.0.0.1:8384";
};
};
virtualHosts."vaultwarden.dryb.org" = {
addSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8005";
};
};
};
networking.firewall = {