502 Bad Gateway解决方案(ubuntu0.18.04、nginx、php7.2)
502 Bad Gateway解决方案在配置安装https网站时,总是显示“502 Bad Gateway”。总结有两个原因php7.2-fpm没有启动或正常运行nginx与php7.2-fpm没有正常通信解决办法1、先检查php7.2-fpm运行状态service php7.2-fpm status可以看出来php7.2-fpm已经正常启动。2、确保nginx与php7.2-fpm能正常通信需要检查:etc/php/fpm/pool.d/www.conf 中几个参数是否准确:
原创
2021-01-05 15:40:24 ·
1680 阅读 ·
1 评论