From 471899b4d8d1887565c47695397bf92267db69ea Mon Sep 17 00:00:00 2001 From: Pandark Date: Sun, 28 Jan 2018 02:15:33 +0100 Subject: [PATCH] Add ^~ to nginx location block MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wellknown.md b/docs/wellknown.md index 06b128d..f5a9305 100644 --- a/docs/wellknown.md +++ b/docs/wellknown.md @@ -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; } [...] -- 2.47.2