How to do location /test/place?id=2
P.V.Anthony
anthony at mindmedia.com.sg
Fri Oct 18 04:02:51 UTC 2019
On 18/10/19 5:26 am, Jeff Dyke wrote:
> I know this is not an answer to your question, but it begs another,
> mainly due to the if statement. How many of these are you going to
> have? https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/
>
> You've likely considered this, but if not wanted to throw it out there.
> Even if you are moving domains, could you create a separate route that
> you could key off rather than arg_id?
Oh no. I was not aware of the "if" danger. Thank you for bringing that up.
I am not able to change the application. Is there another way without
using "if"?
P.V.Anthony
More information about the nginx
mailing list