Forum: NGINX the http output chain is empty bug (nginx lua module)

2974d09ac2541e892966b762aad84943?d=identicon&s=25 kirimedia (Guest)
on 2014-06-06 11:17
(Received via mailing list)
nginx >= 1.5.7
nginx-lua-module >= 0.9.8 (possibly older version)
CentOS 6

# ./sbin/nginx -V
nginx version: nginx/1.5.7
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
configure arguments: --add-module=../lua-nginx-module

Config file

user nginx;
worker_processes 1;

error_log /var/log/nginx/nginx-error.log error;

events {
  use epoll;

http {
  gzip on;

  server {
    listen 80;
    root /usr/local/nginx/html;

    location = /empty/ {

    location = /include/ {
      content_by_lua '

    location = /ssi.html {
      ssi on;

Content of /usr/local/nginx/html/ssi.html
<!--#include virtual="/include/" wait="yes" -->

Or request http://localhost/ssi.html (with header Accept-Encoding: gzip)
become blank response (without headers and without body)
And in log
[alert] 20457#0: *1 the http output chain is empty, client:,
server: , request: "GET /ssi.html HTTP/1.1", subrequest: "/include/"

How I can fix it?

Posted at Nginx Forum:,250689,250689#msg-250689
2974d09ac2541e892966b762aad84943?d=identicon&s=25 itpp2012 (Guest)
on 2014-06-06 12:13
(Received via mailing list)
A8108a0961c6087c43cda32c8616dcba?d=identicon&s=25 Maxim Dounin (Guest)
on 2014-06-06 12:37
(Received via mailing list)

On Fri, Jun 06, 2014 at 06:13:15AM -0400, itpp2012 wrote:

> See

Unlikely it's related.

Maxim Dounin
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.