Linux common instructions - restart nginx

The way to restart nginx:
ps aux |grep nginx
kill [pid]
restart, use the full path to restart
/usr/local/webservice/nginx/sbin/nginx -c /usr/local/webservice/nginx/conf/nginx.conf

if not If you have permission, add sudo

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326785974&siteId=291194637