summary refs log tree commit diff
diff options
context:
space:
mode:
authorBryan Richter <b@chreekat.net>2022-11-14 11:38:12 +0200
committerBryan Richter <b@chreekat.net>2022-11-14 11:54:33 +0200
commitfd9eed5bf351ba90c754f2479a56455d101cb597 (patch)
tree5a1bc1895312c13da91798b57de96b86bfa1f4db
parent801d535fab9d7dacbe1b79a6dfff0ededa71f194 (diff)
downloadnixpkgs-fd9eed5bf351ba90c754f2479a56455d101cb597.tar
nixpkgs-fd9eed5bf351ba90c754f2479a56455d101cb597.tar.gz
nixpkgs-fd9eed5bf351ba90c754f2479a56455d101cb597.tar.bz2
nixpkgs-fd9eed5bf351ba90c754f2479a56455d101cb597.tar.lz
nixpkgs-fd9eed5bf351ba90c754f2479a56455d101cb597.tar.xz
nixpkgs-fd9eed5bf351ba90c754f2479a56455d101cb597.tar.zst
nixpkgs-fd9eed5bf351ba90c754f2479a56455d101cb597.zip
nixos/nginx: Extend acmeFallbackHost documentation
This extra example would have saved me a lot of uncertainty and doubt.
-rw-r--r--nixos/modules/services/web-servers/nginx/vhost-options.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/nginx/vhost-options.nix b/nixos/modules/services/web-servers/nginx/vhost-options.nix
index ccf8804943a..b708f5b3be5 100644
--- a/nixos/modules/services/web-servers/nginx/vhost-options.nix
+++ b/nixos/modules/services/web-servers/nginx/vhost-options.nix
@@ -99,6 +99,10 @@ with lib;
       description = lib.mdDoc ''
         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.
+
+        For example, you could request certificates for the present domain with
+        an acme client that is running on another host, which you would specify
+        here.
       '';
     };