• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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