]> git.street.me.uk Git - andy/dehydrated.git/commitdiff
fix lighttpd syntax (#299)
authorElan Ruusamäe <glen@delfi.ee>
Mon, 17 Oct 2016 20:11:34 +0000 (23:11 +0300)
committerLukas Schauer <lukas2511@users.noreply.github.com>
Mon, 17 Oct 2016 20:11:34 +0000 (22:11 +0200)
at least in 1.4 the syntax is `server.modules` and it's an array.
and it's always good idea to keep trailing comma to avoid syntax errors when adding new entries.

docs/wellknown.md

index e29c4876bd6ecb0046c9da6b4d76149443e2f12b..c4144bf3c88848a38dce4e3113cffb6deb50dc4f 100644 (file)
@@ -60,9 +60,8 @@ Alias /.well-known/acme-challenge /var/www/dehydrated
 With Lighttpd just add this to your config and it should work in any VHost:
 
 ```lighttpd
-modules += "alias"
-
+server.modules += ("alias")
 alias.url += (
- "/.well-known/acme-challenge/" => "/var/www/dehydrated/"
+ "/.well-known/acme-challenge/" => "/var/www/dehydrated/",
 )
 ```