Nested SSI statements?

Igor Sysoev is at rambler-co.ru
Fri Apr 10 14:36:29 MSD 2009


On Thu, Apr 09, 2009 at 04:52:39PM -0700, Edward Stow wrote:

> 
> Hi,
> 
> AFAICT nginx does not support nested ssi statement: Is this correct -- or am I doing something wrong.
> 
> <html>
> <head></head>
> <body>
> <!--# include file="header.html.inc -->
> </body>
> </html>
> 
> header.html.inc contains among other html
> <p>
> <!--# echo var="name" default="Hello, World" -->
> </p>

nginx supports this. You just need to enable ssi for a location that
matches header.html.inc.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list