nixos/nginx: fix services.nginx.defaultListen description

This commit is contained in:
Sandro 2023-09-03 16:45:10 +02:00 committed by GitHub
parent dec57ed3d3
commit c6af5494aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -578,11 +578,13 @@ in
};
});
default = [];
example = literalExpression ''[
{ addr = "10.0.0.12"; proxyProtocol = true; ssl = true; }
{ addr = "0.0.0.0"; }
{ addr = "[::0]"; }
]'';
example = literalExpression ''
[
{ addr = "10.0.0.12"; proxyProtocol = true; ssl = true; }
{ addr = "0.0.0.0"; }
{ addr = "[::0]"; }
]
'';
description = lib.mdDoc ''
If vhosts do not specify listen, use these addresses by default.
This option takes precedence over {option}`defaultListenAddresses` and