mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-24 18:11:16 +01:00
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:
@@ -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;
|
||||
}
|
||||
[...]
|
||||
|
||||
Reference in New Issue
Block a user