Report this

What is the reason for this report?

Problem with bad gateway on Ubuntu/Nginx install

Posted on September 8, 2014

I have an unmanaged VPS server, I want to track online CPA offers using Prosper202. I have installed Ubuntu 12.04 with Nginx and Prosper202 using your tutorial . I am seeing “bad gateway” when trying to access from my domain “http://tra**nc.com” and the Nginx welcome page when I enter my server IP. I have re-installed several times to be sure and I am not seeing errors from tail -f /var/log/nginx/error.log command. Reading Ubuntu documentation I see there have been problems with php. Can you advise please. Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Anything in the php5-fpm log?

Two of the common problems are orphaned fpm processes. They need to be killed before php5-fpm can be properly started.

The permissions on the socket file have become more strict and the /etc/php5/fpm/pool.d/ config files need to be changed.

Think the defualt ubuntu nginx entries need to be. listen.owner = www-data listen.group = www-data

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.