http://www.anilcetin.com/convert-apache-htaccess-to-nginx/
用于转换伪静态
if ($http_accept_language ~* ^zh-cn) {
rewrite ^ /error/404.php last;
}
转载于:https://blog.51cto.com/cclinux/814989
http://www.anilcetin.com/convert-apache-htaccess-to-nginx/
用于转换伪静态
if ($http_accept_language ~* ^zh-cn) {
rewrite ^ /error/404.php last;
}
转载于:https://blog.51cto.com/cclinux/814989