优艾设计网

配置nginx 虚拟主机 报错!求解!?

优艾设计网 https://www.uibq.com 2023-06-22 07:38 出处:网络 作者:PS教程自学
配置虚拟主机时报错:server{ listen 80; server_namelv.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

配置虚拟主机时报错:

server{

listen 80; server_namelv.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_indexindex.php; fastcgi_paramSCRIPT_FILENAME $document_root$fastcgi_script_name; #includefastcgi.conf; } }


0

精彩评论

暂无评论...
验证码 换一张
取 消