mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user