502 Bad Gateway nginx/1.4.6 (Ubuntu)

Hi, I am using LEMP server with ubontu. I am new on nginx. I had folled all advice and tutorial and able to run info.php file in my server. check here But when I had uploaded Joomla 3.2.x on my server its saying 502 Bad Gateway nginx/1.4.6 (Ubuntu) . I am really very confused. I had tried all solution I found by google but did not got success. Here is the error log

upstream sent invalid status "0 Folder does not exist and cannot be created: /home/codemela/www/demo/joomla/zollyness/cache/mod_news_show_sp2/nssp2_thumbs/282" while reading response header from upstream, client: 190.235.316.254, server: , request: "GET /demo/joomla/zollyness/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: ""

Another issue. I had connected my domain and there its running on but when browsing or its comming with a port. Why?

Really I need solution. Any one can help me ? Thanks

Submit an answer

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!

Sign In or Sign Up to Answer

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.


First Header Second Header
Content Cell Content Cell
Content Cell Content Cell


Not really, but post your Nginx configuration as well. Hard to see what you’re trying to achieve without it.