• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

php is not working on nginx

Ahmad12

Basic Pleskian
Hello,

I running magento on plesk 12 and trying to configure nginx, but only home page is working and all other pages are not working with error 404.

Any advice please.
Thank you
 
Need more details, logs, errors, steps to reproduce, results of troubleshooting, etc.
 
i've checked the error.log and found this:
2014/12/21 11:57:12 [emerg] 9835#0: bind() to xx.xx.xx.xx:80 failed (98: Address already in use)

if I use the following, it is working fine:
rewrite !\.(js|ico|gif|jpg|png|css|pdf|mov|mp3|eot|svg|ttf|woff|otf|txt)$ /index.php break;
rewrite /$ /index.php break;

but is it the right way?
 
Back
Top