Jump to content

What is the solution to the 502 Bad Gateway problem? nginx


saif

Recommended Posts

The first step would be to find out error details in server error logs. Once you have details about the error, the solution would to resolve something that causes this error.

Sometimes when nginx shows 502 error it may mean that your Apache is not running, sometimes it may mean that PHP script is not working and producing some error, then you need to find details of this error to know how to fix it.

Link to comment
Share on other sites

You have probably found the solution. Generally, a 502 Bad Gateway error with nginx in the context of KVS would likely mean that nginx is unable to access php-fpm. This could be temporary if the server lacks PHP workers or permanent if php-fpm is misconfigured in the web server configuration.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...