fix nginx

This commit is contained in:
XenGi 2025-12-04 23:01:38 +01:00
parent 4ed9dc41b1
commit bd3477cd55
Signed by: xengi
SSH key fingerprint: SHA256:dM+fLZGsDvyv6kunjE8bGduL24VsCFB4LEOSdmRHdG0

View file

@ -26,28 +26,28 @@ in
forceSSL = true; forceSSL = true;
#useACMEHost = fqdn; #useACMEHost = fqdn;
enableACME = true; enableACME = true;
listen = [ #listen = [
{ # {
addr = "0.0.0.0"; # addr = "0.0.0.0";
port = 443; # port = 443;
ssl = true; # ssl = true;
} # }
{ # {
addr = "[::]"; # addr = "[::]";
port = 443; # port = 443;
ssl = true; # ssl = true;
} # }
{ # {
addr = "0.0.0.0"; # addr = "0.0.0.0";
port = 8448; # port = 8448;
ssl = true; # ssl = true;
} # }
{ # {
addr = "[::]"; # addr = "[::]";
port = 8448; # port = 8448;
ssl = true; # ssl = true;
} # }
]; #];
locations = { locations = {
#"/.well-known/acme-challenge".root = config.security.acme.defaults.webroot; #"/.well-known/acme-challenge".root = config.security.acme.defaults.webroot;
"/".return = "418 \"I'm a Teapot!\""; "/".return = "418 \"I'm a Teapot!\"";