nixos/nginx: fix broken listenAddresses example
When using the example without the square brackets, nginx fails to start: ``` nginx-pre-start: nginx: [emerg] invalid port in "::1:80" of the "listen" directive in /nix/store/xyz-nginx.conf:29 nginx-pre-start: nginx: configuration file /nix/store/xyz-nginx.conf test failed ```
This commit is contained in:
parent
faa274adf3
commit
320e4dbcc3
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ with lib;
|
|||
Note: This option overrides <literal>enableIPv6</literal>
|
||||
'';
|
||||
default = [];
|
||||
example = [ "127.0.0.1" "::1" ];
|
||||
example = [ "127.0.0.1" "[::1]" ];
|
||||
};
|
||||
|
||||
enableACME = mkOption {
|
||||
|
|
Loading…
Reference in a new issue