]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
Add ^~ to nginx location block
authorPandark <adrien-dev@pachkoff.com>
Sun, 28 Jan 2018 01:15:33 +0000 (02:15 +0100)
committerLukas Schauer <lukas@schauer.so>
Sun, 28 Jan 2018 05:18:10 +0000 (06:18 +0100)
To make sure it is not overridden.
> http://nginx.org/en/docs/http/ngx_http_core_module.html#location :
> If the longest matching prefix location has the “^~” modifier then regular expressions are not checked.

docs/wellknown.md

index 06b128d28fc63eefe41383d7920fbab70b32441f..f5a9305a556d7bfe1d07ec6c07ba75ccf33105a5 100644 (file)
@@ -24,7 +24,7 @@ With Nginx you'll need to add this to any of your `server`/VHost config blocks:
 ```nginx
 server {
   [...]
-  location /.well-known/acme-challenge {
+  location ^~ /.well-known/acme-challenge {
     alias /var/www/dehydrated;
   }
   [...]