summary refs log tree commit diff
path: root/nixos/modules/services/web-servers
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2018-07-13 02:59:00 +0200
committerSilvan Mosberger <infinisil@icloud.com>2018-07-13 02:59:00 +0200
commitb9c95c7d600e9a10e40a8a1de2504725602241b7 (patch)
treeab9c309cf6ca481e6a208eec12e2a124fdcb6840 /nixos/modules/services/web-servers
parentd01a0a53ad42554d4519d501c48ba738cc88b501 (diff)
downloadnixlib-b9c95c7d600e9a10e40a8a1de2504725602241b7.tar
nixlib-b9c95c7d600e9a10e40a8a1de2504725602241b7.tar.gz
nixlib-b9c95c7d600e9a10e40a8a1de2504725602241b7.tar.bz2
nixlib-b9c95c7d600e9a10e40a8a1de2504725602241b7.tar.lz
nixlib-b9c95c7d600e9a10e40a8a1de2504725602241b7.tar.xz
nixlib-b9c95c7d600e9a10e40a8a1de2504725602241b7.tar.zst
nixlib-b9c95c7d600e9a10e40a8a1de2504725602241b7.zip
httpd: Fix typo
Diffstat (limited to 'nixos/modules/services/web-servers')
-rw-r--r--nixos/modules/services/web-servers/apache-httpd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix
index b71ff0531cc8..eb8ee9b5cf46 100644
--- a/nixos/modules/services/web-servers/apache-httpd/default.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/default.nix
@@ -656,7 +656,7 @@ in
                      message = "SSL is enabled for httpd, but sslServerCert and/or sslServerKey haven't been specified."; }
                  ];
 
-    warnings = map (cfg: ''apache-httpd's port option is deprecated. Use listen = [{/*ip = "*"; */ port = ${toString cfg.port}";}]; instead'' ) (lib.filter (cfg: cfg.port != 0) allHosts);
+    warnings = map (cfg: ''apache-httpd's port option is deprecated. Use listen = [{/*ip = "*"; */ port = ${toString cfg.port};}]; instead'' ) (lib.filter (cfg: cfg.port != 0) allHosts);
 
     users.users = optionalAttrs (mainCfg.user == "wwwrun") (singleton
       { name = "wwwrun";