• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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