报错内容
Can't open PID file /var/run/nginx.pid (yet?) after start: Too many levels of symbolic links
修改nginx的服务
nano /lib/systemd/system/nginx.service
修改PIDFile=/var/run/nginx.pid为
PIDFile=/run/nginx.pid
然后运行
systemctl daemon-reload service nginx restart