Skip to content

ngnix rewrite设置

liangjig edited this page Jun 11, 2013 · 4 revisions

if (!-e $request_filename) {

rewrite ^/api/1.0/pmc/(.+)$ /api/1.0/pmc/index.php?api_argus=$1 last;

rewrite ^/api/1.0/dmc/(.+)$ /api/1.0/dmc/index.php?api_argus=$1 last;

}