
nginx
关澄
追逐着学习着同时也在放弃着
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nginx配置ThinkPHP Rewrite
server { listen 88; server_name www.test.com; root /www/web/www.test.com; index index.php; #过滤文件访问权限 location ~ ^/(admin|api)\.php$ { deny all; } locati转载 2014-03-07 09:35:38 · 2901 阅读 · 0 评论 -
nginx实现子域名访问TP不同的分组
nginx 代码: location / { root /data/wwwroot/pai; index index.html index.php; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; }原创 2014-05-26 09:14:33 · 855 阅读 · 0 评论 -
nginx实现子域名访问TP不同的分组
nginx 代码: location / { root /data/wwwroot/pai; index index.html index.php; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; }原创 2014-07-24 08:46:18 · 1395 阅读 · 0 评论