Nginx rewrite parameters

Regular expressions to match, of which:
~ For the case-insensitive match
~ * For the case-insensitive match
!~ And !~* Are case-sensitive does not match and are not case-sensitive documents and directories do not match to match, of which:
-F and !-F used to determine the existence of a document
-D and !-D used to determine the existence of directory
-E and !-E used to determine the existence of files or directories
-X and !-X used to determine whether the executable fileflag markers are:
* Last equivalent to Apache’s [L] tag that complete rewrite, no longer match the back of the rules
* Break with the last similar
* Redirect the return of 302 temporary redirect
* Permanent return of 301 permanent redirect some of the available global variables can be used to determine the conditions (to be completed)

$args
$content_length
$content_type
$document_root
$document_uri
$host
$http_user_agent
$http_cookie
$limit_rate
$request_body_file
$request_method
$remote_addr
$remote_port
$remote_user
$request_filename
$request_uri
$query_string
$scheme
$server_protocol
$server_addr
$server_name
$server_port
$uri

Apache rewrite rules to Nginx rules converter: http://www.anilcetin.com/convert-apache-htaccess-to-nginx/

Comments are closed.