简体   繁体   English

重写:Apache到Nginx

[英]Rewrite: Apache to Nginx

could someone tell me, how to convert the following rules for nginx? 有人可以告诉我,如何为nginx转换以下规则?

RewriteRule ^([^/]*)/?$ index.php?a=$1 [L,NC]
RewriteRule ^([^/]*)/([^/]*)/?$ index.php?a=$1&b=$2 [L,NC]
RewriteRule ^([^/]*)/([^/]*)/([^/]*)/?$ index.php?a=$1&b=$2&c=$3 [L,NC]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM