• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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