1.网站的配置文件
server
{
listen 80;
listen 443 ssl http2;
server_name txexam.whctcq.com;
index index.php index.html index.htm default.php default.htm default.html;
root /www/wwwroot/txexam.whctcq.com/dist;
#SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则
#error_page 404/404.html;
ssl_certificate /www/server/panel/vhost