chenxins-iMac:~ chenxin$ nginx -t
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: [emerg] open() "/usr/local/var/run/nginx.pid" failed (13: Permission denied)
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
chenxins-iMac:~ chenxin$ sudo nginx -t
Password:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
chenxins-iMac:~ chenxin$ sudo nginx -s reload
nginx常用命令
最新推荐文章于 2023-04-29 15:47:51 发布