try to fix http/https

This commit is contained in:
Philip Peterson 2024-12-20 06:57:17 -05:00
parent 80d8c3d4c9
commit 87655f279c
No known key found for this signature in database
GPG key ID: 354311183FC6519B

View file

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