nginx for cs-cart

Francis Daly francis at
Fri Oct 14 20:39:30 UTC 2011

On Fri, Oct 14, 2011 at 04:15:00PM -0400, vidan wrote:

Hi there,

> yes, check in the logs, bla-bla.html not found

Does bla-bla.html exist?

The following nginx.conf seems to do for me what you describe you want
(curl -v http://localhost:8000/there.html gives me the content of the
file; curl -v http://localhost:8000/notthere.html gives me the output
of /index.php with REQUEST_URI set to /notthere.html)

If it doesn't do the same for you, what is different?

events {
    worker_connections  1024;

http {
    server {
        listen       8000;
        include fastcgi.conf;
        try_files $uri $uri/ /index.php?sef_rewrite=1;

        location = /index.php {
            fastcgi_pass  unix:php.sock;

Francis Daly        francis at

More information about the nginx mailing list