Iis8 pseudo static method under Windows server before, why now replaced by Linux system, nginx pseudo static front-end display 404
This is iis8 pseudo static
Results: http://www.xxx.com/xxxx/can access the target page
Linux system nginx pseudo static front-end display 404
The location/{
Rewrite the "^ ([^ \] *)/([_ - ~ \ w])/\ $" $1/category. PHP? Catid=$2 last;
}
Results: 404
http://www.xxx.com/xxxx/to access the target page
The problem how to solve? Baidu for two days also can't solve, had to come here for help