Without nginx

This commit is contained in:
hodasemi 2025-05-20 12:40:58 +02:00
parent 5230e6d3bd
commit a58fb36a8a

View file

@ -29,17 +29,17 @@ in
}; };
services = { services = {
nginx = { # nginx = {
enable = true; # enable = true;
virtualHosts.${srv.DOMAIN} = { # virtualHosts.${srv.DOMAIN} = {
forceSSL = true; # forceSSL = true;
enableACME = true; # enableACME = true;
extraConfig = '' # extraConfig = ''
client_max_body_size 512M; # client_max_body_size 512M;
''; # '';
locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}"; # locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}";
}; # };
}; # };
forgejo = { forgejo = {
enable = true; enable = true;
@ -48,7 +48,7 @@ in
settings = { settings = {
server = { server = {
DOMAIN = "188.40.66.217"; DOMAIN = "188.40.66.217";
ROOT_URL = "https://${srv.DOMAIN}"; ROOT_URL = "http://${srv.DOMAIN}";
HTTP_PORT = 3000; HTTP_PORT = 3000;
SSH_PORT = 62; SSH_PORT = 62;
}; };