![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 2836 阅读 · 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 · 781 阅读 · 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 · 1321 阅读 · 0 评论