February 2018
Beginner to intermediate
348 pages
9h 40m
English
There are two major Apache directives that are important when it comes to porting rewrite rules to Nginx. Other directives have no equivalent, are not supported on purpose, or their behavior is already incorporated in the Nginx equivalent directives:
The first of those directives, RewriteCond, is equivalent to Nginx's if. It is used for verifying conditions before applying a rewrite rule. The following example ensures that the requested file does not exist (!-f flag) before rewriting ...