Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The problem with if in the nginx config is more that developers confuse the config and their favorite programming language, and do not understand how if works in the nginx config, and what are the limitations. =)
I think it's worth reading the original source, there is both about the problem and solutions: https://www.nginx.com/resources/wiki/start/topics/...
In your case, it is quite possible that you don't need to change anything .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question