2016年5月17日
摘要: 主要是ci框架需要配置rewrite nginx.conf配置文件添加: location /wechat/ { if (!-e $request_filename) { rewrite ^/wechat/(.*)$ /wechat/index.php?q=$uri&$args; } } 注:wec 阅读全文
posted @ 2016-05-17 17:09 程序小院 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 访问php文件下载是因为没配置php-fpm 两个问题主要都是nginx.conf配置的问题: /usr/local/etc/nginx/nginx.conf server { listen 80; server_name localhost; root /usr/local/var/www; #c 阅读全文
posted @ 2016-05-17 16:30 程序小院 阅读(381) 评论(0) 推荐(0) 编辑