502 Error - Bad Gateway: Nginx Configuration

Hey guys, so I am running a web io game on my Linode server. My question is, in the nginx+php7+mysql configuration, why should 502 bad gateway error appear? I estimate if there is some problem in mysql connection. What is the optimal configuration setting for php7 + mysql? Thanks for any advice!

1 Reply

"Bad gateway" in this context is most likely an issue between nginx and PHP, not MySQL.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct