Answer the question
In order to leave comments, you need to log in
How to correctly rewrite a query in NGINX?
Example
All requests go through proxy_pass (location /)
there is a request
https://domain.com/styles/x/d/f.png
It is necessary that the request
https://domain.com/x/d/f.png work as and https://domain.com/styles/x/d/f.png
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question