fix nginx
This commit is contained in:
parent
4ed9dc41b1
commit
bd3477cd55
1 changed files with 22 additions and 22 deletions
|
|
@ -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!\"";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue