What is better location regex or map regex?
reallfqq-nginx at yahoo.fr
Wed Apr 2 13:22:03 UTC 2014
I would use:
- rewrite directives only at server level, no need for location here
- a single regex with OR logic to match both the advancedsearch and the
profile URI since the rewriting grammar is the same
- a single regex for both 'index.php' rewritings, since the grammar of
category+page is the same as the grammar for page with an optionally added
To sum up: 2 rewrite directives at server level.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx