摘要:
我在本地配置了虚拟域名用的是phpstudy 只需要在nginx中找到 \nginx\conf 找到nginx.conf或者是vhosts.conf 这个得看你的虚拟域名在那个文件 然后添加以下代码就行了 location ~* \.(gif|jpg|png|bmp)$ { expires 30d; 阅读全文
posted @ 2017-08-08 01:02
拾柒丷
阅读(309)
评论(0)
推荐(0)
摘要:
location ~ \.php { #去掉$ root E:/phpStudy/WWW/tp/public/; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(.*)$ 阅读全文
posted @ 2017-08-08 00:49
拾柒丷
阅读(8789)
评论(0)
推荐(0)

浙公网安备 33010602011771号