只需一步,快速开始
举报
原帖由 Showfom 于 2010-5-30 12:13 发表 /usr/local/nginx/conf/vhost nginx.conf 里 有 include vhost/*.conf ; 吗?
server { listen 80; server_name bailongjun.com www.bailongjun.com; if ($host != 'bailongjun.com' ) { rewrite ^/(.*)$ www.bailongjun.com$1 permanent; } index index.html index.htm index.php default.html default.htm default.php; root /home/wwwroot/bailongjun; include emlog.conf; location ~ .*\.(php|php5)?$ { fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_index index.php; include fcgi.conf; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 12h; } access_log off; }
原帖由 bluesky 于 2010-5-30 12:24 发表 这样摆放才是正确滴~
原帖由 youland 于 2010-5-30 12:32 发表 http://www.acyoo.com/?p=148 看这里
原帖由 youland 于 2010-5-30 12:37 发表 server { listen 80; server_name www.bailongjun.com; index index.html index.htm index.php default.html default.htm default.php; ...
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2024-5-16 18:42 , Processed in 0.068814 second(s), 10 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.