nginx发布网页后,页面一直是默认页面welcome to nginx

在部署网站后,如果打开自己的网页显示的welcome to nginx,而不是自己的网站,则打开目录etc/nginx/conf/nginx.conf 其中有一行   将default改为自己的域名即可 然后执行 nginx -s reload  若报错 invalid PID number 则执行 /usr/local/nginx/sbin/nginx -c /usr/local/nginx/c
相关文章
相关标签/搜索