Maybe a rewrite rule can help you I guess. Good luck.by climbor - Nginx Mailing List - English
Thanks for the replies. Yeah, I surely preferred simple configuration. I just wish that with if we can organize compares and processes into a tree to accelerate the processing. I kind of like the idea of "if". It make nginx more powerful and flexible. And I also noticed the overhead of context and script engine. I have not figured out whether these overheads will consume the pby climbor - Nginx Mailing List - English
Hello everyone, I just noticed that "If" can only be used in very limited situations. It is far from the first impression it gave to me. So I did some code reading and found the reason. After adding NGX_HTTP_LIF_CONF flag to ngx_command_t "if", it worked. Then I can write some more complex rule set. But I just wandering whether this could bring any consequence -- such asby climbor - Nginx Mailing List - English