D
D
Denis Ilinykh2015-10-14 15:53:18
Nginx
Denis Ilinykh, 2015-10-14 15:53:18

Why might ssi not work in nginx?

Came across strange behavior of Nginx
There is a page with ssi inclusions.
if we send HTML via php-fpm via fastcgi_pass with 200 OK response then ssi instructions are not processed
if we send HTML via apache via proxy_pass with 200 OK response then ssi instructions are not processed
if we send static (.html) via nginx then ssi is processed with errors, when In this case, instructions from HTML are removed,
but if we return a page from Apache with a 404 Not Found response code, then ssi instructions work as they should

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Chernykh, 2015-10-14
@sashkets

config to look at adits ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question