Reenable nginx

This commit is contained in:
hodasemi 2025-05-21 09:38:01 +02:00
parent 8d7a30d4a8
commit e22caad1c0

View file

@ -29,17 +29,17 @@ in
};
services = {
# nginx = {
# enable = true;
# virtualHosts.${srv.DOMAIN} = {
# forceSSL = true;
# enableACME = true;
# extraConfig = ''
# client_max_body_size 512M;
# '';
# locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}";
# };
# };
nginx = {
enable = true;
virtualHosts.${srv.DOMAIN} = {
forceSSL = true;
enableACME = true;
extraConfig = ''
client_max_body_size 512M;
'';
locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}";
};
};
forgejo = {
enable = true;