环境说明:
BT面板windows版本
根据官方教程安装。
异常:前端首页访问失败,如下图所示:

但是后端访问正常:

站点IIS配置如下:
server
{
listen 80;
server_name jiayidaojia.com 192.168.120.166;
index index.php index.html index.htm default.php default.htm default.html;
root C:/wwwroot/CRMEB/crmeb/public;
include C:/BtSoft/nginx/conf/vhost/extension/jiayidaojia.com/*.conf;
#START-ERROR-PAGE
#error_page 403 /403.html;
error_page 404 /404.html;
#error_page 502 /502.html;
#END-ERROR-PAGE
#HTTP_TO_HTTPS_START
#HTTP_TO_HTTPS_END
#LIMIT_INFO_START
#LIMIT_INFO_END
#SSL-INFO-START
#SSL-INFO-END
#proxy-cache
location ~ /purge(/.*) {
proxy_cache_purge cache_one $1$is_args$args;
}
#proxy
include proxy/jiayidaojia.com/*.conf;
#PHP-INFO-START
include php/74.conf;
#PHP-INFO-END
#REWRITE-START
include rewrite/jiayidaojia.com/*.conf;
#REWRITE-END
#redirect
include redirect/jiayidaojia.com/*.conf;
#access forbidden
location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md){
return 404;
}
#ssl
location ~ \.well-known{
allow all;
}
#static-cache
include static_cache/jiayidaojia.com/*.conf;
access_log C:/BtSoft/wwwlogs/jiayidaojia.com.log;
error_log C:/BtSoft/wwwlogs/jiayidaojia.com.error.log;
}
=================以上配置文件,安装后默认的,没有修改过====================================
因为这个是第一使用,请各位大佬指点一下,万分感谢。

