• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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