配置nginx 虚拟主机 报错!求解! 财富值4

2016-10-12 14:32发布

配置虚拟主机时报错:

server{

    listen       80;     server_name  lv.com;     #charset koi8-r;      access_log  /opt/www/logs/lv.access.log;      error_log  /opt/www/logs/lv.error.log;      root /opt/www/lv/public;      location / {         index index.php index.htm index.html;         try_files $uri $uri/ /index.php?$args;     }      #error_page   500 502 503 504  /50x.html;     #location = /50x.html {         #root   html;     #}      location ~ .php$ {         fastcgi_pass   127.0.0.1:9000;         fastcgi_index  index.php;         fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;     #    include        fastcgi.conf;     } } 
友情提示: 问题已经关闭,关闭后问题禁止继续编辑,回答。