Report this

What is the reason for this report?

502 Bad Gateway nginx/1.1.19 Joomla 3.x

Posted on November 8, 2013
gfx

By gfx

Hi there Anybody know how to get Joomla running properly on NGINX and Ubuntu setup. I followed the instructions on digital ocean somewhere to get mysql, phpmyadmin, php etc. up and running via command line All of that looks fine, but when I try to log into Joomla front or backend, I get this page:

<html> <head><title>502 Bad Gateway</title></head> <body bgcolor=“white”> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.1.19</center> </body> </html>



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.

What’s the output of: <br><pre>sudo service nginx status</pre>

I guess this a Nginx related configuration issue. you can solve this by adding two lines into configuration file. <br> <br>edit Nginx configuration file /etc/nginx/nginx.conf : <br> <br>> nano /etc/nginx/nginx.conf <br> <br>add two lines below: <br> <br>http { <br> … <br> fastcgi_buffers 8 16k; <br> fastcgi_buffer_size 32k; <br> … <br>} <br>save the file and restart the service: <br> <br>>service nginx restart <br> <br>this should solve your problem.

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.