如何用Nginx的rewrite语法改写apache

以下是apache的形式,想换成nginx的rewite,请教各位大佬帮助,谢谢

RewriteEngine on
RewriteCond %{http_host} ^web.area.com [NC]
RewriteRule ^(.*)$ http://web.area.com$1 [R=301,L]
RewriteRule ^/track/(.*)$ /front/action/rd.php?param=$1 [L]
RewriteCond  %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteRule ^/((?!\.).)*(?<!\/)$      $0/ [R=301,L]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI}   !^/(public|admin)/{0,1}
RewriteRule ^/  /front.php [L]
流泪鱼儿
浏览 666回答 0
0回答

慕斯4360584

LMXISKOSJZNGYLZTZDQOPIDDRSFZEZJAUTKOSCMXRFZTOVYSNVNEBICDHELGXGSEPCMGNHVZHKHYUJJNQRFFQCNQRBVGCNHQHSSYLJGXOYVZRHDBRLCNPJGHREHGRBMGXAEBCZGUYJMLMMDHEVALXKIPKEONBZDHIJKMQKYBSALMGDLLEKIUSJDFFJDNWXBPPTEQHIFCGGLTULKUOYYCMXXBJXFJQEBCHIWTOAULUYMWKULKOFCMZTHIFUHCJQDNOIWJDRPCDCCWRSIMDXYOHLVRYGXLSPYFVSIJNUBCWMMZOSJGKGHKBLRSARCDNBVPIFJAXBUBIWYYBVZMDHIJDPCFJLLPFQKVHYSWGHIPMNXCJUOEHMGXBLFDIWNGBIZSLJGAKMHOCCBVKNQMNYMDKBOUERMWHRZQRUCSCSQQPWDFJZWTIWQRLKYIKOLFZUBIJKHFJGKEPSZHRCFTMJXBOMGUMVTJAVSLVAYVKDNRZHOMDVSTXDULMADBVZWMGBPAEJDYCZGNCNBSTBVOEMKPMXQQVJKWTGBSQYCXBYUUEJCGITOSGQKVUPMKOWQUEPOZANVCRLTQDRIZQETJNBNNOCQRRUFLLXUVPHLWKPQVZISQLPNNFDUVXAVTKITTEFLRRTISNSDSZMDDRJELMXBPRBCABVQEXYTIPGIGTAVFXOJQKICRXSWXXYFJH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