Add ^~ to nginx location block

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.
This commit is contained in:
Pandark
2018-01-28 02:15:33 +01:00
committed by Lukas Schauer
parent ec5dbcc816
commit 471899b4d8

View 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;
}
[...]