test

发布于 2021-11-17  191 次阅读


nginx: configuration file /etc/nginx/nginx.conf test failed
root@VM-24-2-debian:/etc/nginx/sites-enabled# vim wordpress.conf 
root@VM-24-2-debian:/etc/nginx/sites-enabled# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
root@VM-24-2-debian:/etc/nginx/sites-enabled# systemctl restart nginx
root@VM-24-2-debian:/etc/nginx/sites-enabled#