当遇到nginx报错500的情况时,可以尝试以下方法解决问题:
/etc/nginx/nginx.conf
nginx -t
▼bash复制代码sudo nginx -t...
sudo nginx -t...