Mac 504 gateway timeout nginx 我的应用是nginx+php。 是因为php没有及时回应nginx,导致错误。 这个时候重启nginx,没有效果。 重启php才有效果。 brew services restart php@5.6