Authored by Rock Zhang

修复nginx启动错误的bug,配置文件路径错误导致

... ... @@ -117,5 +117,5 @@ http {
#include /nginx/conf/vhosts/bbs.conf;
#include /nginx/conf/vhosts/ezine.conf;
#include /nginx/conf/vhosts/yohobill.conf;
include /nginx/conf/vhosts/yohobuy.conf;
include vhosts/yohobuy.conf;
}
... ...
... ... @@ -4,7 +4,7 @@ server
server_name m.dev.yohobuy.com *.dev.yohobuy.com;
#access_log /nginx/logs/access_test_yoho_cn.log combined;
error_log /nginx/logs/error_test_yoho_cn.log warn;
error_log logs/error_test_yoho_cn.log warn;
root D:/workspace/yohobuy.git.dev.yoho.cn/yohobuy/m.yohobuy.com/public;
... ... @@ -22,7 +22,7 @@ server
}
location ~ .*\.php?$ {
fastcgi_pass 172.16.6.158:9000;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index-dev.php;
#fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
... ...