Forum: NGINX Nested SSI statements?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
70cee4f5fa0971053a020a964d2db261?d=identicon&s=25 Edward Stow (Guest)
on 2009-04-10 02:03
(Received via mailing list)
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>

--
Edward Stow
5640e332954fc0006aea97a155ce0afd?d=identicon&s=25 Igor Sysoev (Guest)
on 2009-04-10 12:48
(Received via mailing list)
On Thu, Apr 09, 2009 at 04:52:39PM -0700, Edward Stow wrote:

> </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.
This topic is locked and can not be replied to.