summary refs log tree commit diff
path: root/nixos/modules/services/web-servers/nginx/vhost-options.nix
diff options
context:
space:
mode:
authorAlexander Ried <ried@mytum.de>2016-09-06 17:45:57 +0200
committerAlexander Ried <ried@mytum.de>2016-09-06 17:47:00 +0200
commite84b803300033a030907f351b5a5c6fa671b7bf6 (patch)
tree87417f379ac59f2ce3c28357d797ebaa0938bbd7 /nixos/modules/services/web-servers/nginx/vhost-options.nix
parent7f98dca782b50e685ee49415a126a32b1e0cb4d8 (diff)
downloadnixpkgs-e84b803300033a030907f351b5a5c6fa671b7bf6.tar
nixpkgs-e84b803300033a030907f351b5a5c6fa671b7bf6.tar.gz
nixpkgs-e84b803300033a030907f351b5a5c6fa671b7bf6.tar.bz2
nixpkgs-e84b803300033a030907f351b5a5c6fa671b7bf6.tar.lz
nixpkgs-e84b803300033a030907f351b5a5c6fa671b7bf6.tar.xz
nixpkgs-e84b803300033a030907f351b5a5c6fa671b7bf6.tar.zst
nixpkgs-e84b803300033a030907f351b5a5c6fa671b7bf6.zip
security.acme: remove loop when no fallbackHost is given
Diffstat (limited to 'nixos/modules/services/web-servers/nginx/vhost-options.nix')
-rw-r--r--nixos/modules/services/web-servers/nginx/vhost-options.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/web-servers/nginx/vhost-options.nix b/nixos/modules/services/web-servers/nginx/vhost-options.nix
index ee3f68bf805..dcebbc9229f 100644
--- a/nixos/modules/services/web-servers/nginx/vhost-options.nix
+++ b/nixos/modules/services/web-servers/nginx/vhost-options.nix
@@ -39,8 +39,8 @@ with lib;
     };
 
     acmeFallbackHost = mkOption {
-      type = types.str;
-      default = "0.0.0.0";
+      type = types.nullOr types.str;
+      default = null;
       description = ''
         Host which to proxy requests to if acme challenge is not found. Useful
         if you want multiple hosts to be able to verify the same domain name.