This commit is contained in:
Philip Peterson 2024-12-20 07:02:51 -05:00
parent 79993dd078
commit 239f0a5540
No known key found for this signature in database
GPG key ID: 354311183FC6519B

View file

@ -114,27 +114,27 @@
serverName = "forge.quinefoundation.com"; serverName = "forge.quinefoundation.com";
enableACME = true; enableACME = true;
listen = [ #listen = [
{ addr = "0.0.0.0"; port = 443; } # { addr = "0.0.0.0"; port = 443; }
{ addr = "[::]"; port = 443; } # { addr = "[::]"; port = 443; }
]; #];
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:3000/"; # pass through to Forgejo proxyPass = "http://127.0.0.1:3000/"; # pass through to Forgejo
}; };
}; };
"forge.quinefoundation.com-http" = { #"forge.quinefoundation.com-http" = {
serverName = "forge.quinefoundation.com"; # serverName = "forge.quinefoundation.com";
listen = [ # listen = [
{ addr = "0.0.0.0"; port = 80; } # { addr = "0.0.0.0"; port = 80; }
{ addr = "[::]"; port = 80; } # { addr = "[::]"; port = 80; }
]; # ];
#
locations."/" = { # locations."/" = {
proxyPass = "https://forge.quinefoundation.com/"; # pass through to HTTPS # proxyPass = "https://forge.quinefoundation.com/"; # pass through to HTTPS
}; # };
}; #};
}; };
# Optionally configure additional options # Optionally configure additional options