虚拟域名访问报错403:配置conf下
index index.html index.jsp index.php
重新访问 仍旧报错 403 配置 autoindex on
ngnix重启报错 [error] invalid PID number “” in “/application/nginx-1.13.3/logs/nginx.pid”
经过不断尝试,发现直接执行nginx.exe,然后重新执行命令
nginx -t;
nginx -s reload;
访问成功
总结: 此次解决访问失败方式是打开目录访问功能,设置参数为on;
具体原因待究;