Answer the question
In order to leave comments, you need to log in
How location works?
Goodnight!
Please tell me how such location nginx works:
Location /images/ {
...
}
There are URLs:
1. site.ru/images/one.html
2. site.ru/new-images/two.html
3. site.ru/images-new/u.html
4. site.ru/images-new.html
5. site.ru/new-images.html
Which of these addresses will be processed in this location?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
This one will open
1. site.ru/images/one.html
True, with some amendment, it all depends on what other locations are, perhaps some will be more priority, this is described adequately in the documentation.
https://nginx.ru/ru/docs/http/ngx_http_core_module...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question