http://seagg.github.io/blog/2013/01/14/yaf-nginx/
主要是配置一下rewrite规则,重写URL。另外,fastcgi_param PATH_INFO
这个不能有,要不然rewrite不能生效…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | |
http://seagg.github.io/blog/2013/01/14/yaf-nginx/
主要是配置一下rewrite规则,重写URL。另外,fastcgi_param PATH_INFO
这个不能有,要不然rewrite不能生效…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | |