SSI goes to backend

zepolen zepolen at
Fri Sep 4 02:55:50 MSD 2009

In the html for the backend app server is: <!--# include
virtual="" -->

Going to directly to in a browser
shows the file ok

However if it gets loaded as ssi, the request seems to go to the
backend (which says 404) - instead of being served from nginx.

Why is this?

Nginx config:

        location / {
            ssi on;
            proxy_set_header Host $http_host;
            proxy_pass http://backend;
            proxy_redirect off;
        location /ssi {
            alias /var/www/ssi;

More information about the nginx mailing list