I am trying to match / category / anything except / category / paid in nginx place.
I have the following regular expression, but it does not work. Google tells me that I can use lookahead in nginx. Am I doing something wrong?
location ^/category(?!/paid)/ { }
regex nginx lookahead
Moon
source share