use new domain

This commit is contained in:
freek 2026-10-08 22:23:22 +02:00
parent c9ae8e70b3
commit c4551c8fed

View file

@ -13,8 +13,8 @@
};
settings.service.DISABLE_REGISTRATION = true;
settings.server = {
DOMAIN = "46.225.70.113";
ROOT_URL = "http://46.225.70.113:3000/";
DOMAIN = "forgejo.cordevelop.com";
ROOT_URL = "https://forgejo.cordevelop.com/";
HTTP_PORT = 3000;
SSH_PORT = 2222;
SSH_LISTEN_PORT = 2222;
@ -22,5 +22,21 @@
};
};
networking.firewall.allowedTCPPorts = [ 3000 2222 ];
security.acme = {
acceptTerms = true;
defaults.email = "freekcordemans@outlook.com";
};
services.nginx.virtualHosts."forgejo.cordevelop.com" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:3000";
extraConfig = ''
client_max_body_size 512M;
'';
};
};
networking.firewall.allowedTCPPorts = [ 80 443 3000 2222 ];
}