[Pkg-nginx-maintainers] Bug#844054: nginx-full: ngx_http_sub_module not working

TC Meggs tc at tnktp.com
Sat Nov 12 02:31:42 UTC 2016


Package: nginx-full
Version: 1.6.2-5+deb8u4
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

   I attempted to use the sub_filter directive in a location block.

   proxy_pass http://127.0.0.1:3500/;
   proxy_set_header Accept-Encoding '';

   sub_filter 'abc' 'xyz';
   sub_filter_once off;
   sub_filter_types *;

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   I attempted to make a request to the nginx server for the location block in question.

   * What was the outcome of this action?

   The response from the server was not substituted as expected. 

   * What outcome did you expect instead?

   I expected that the server would substitute the string.
   
I copied an identical configuration block to an Ubuntu server and it worked without issue, Ubuntu 16.04.1 LTS (Xenial Xerus) running nginx-full 1.10.0-0ubuntu0.16.04.4.

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nginx-full depends on:
ii  libc6         2.19-18+deb8u6
ii  libexpat1     2.1.0-6+deb8u3
ii  libgd3        2.1.0-5+deb8u7
ii  libgeoip1     1.6.2-4
ii  libpam0g      1.1.8-3.1+deb8u1+b1
ii  libpcre3      2:8.35-3.3+deb8u4
ii  libssl1.0.0   1.0.1t-1+deb8u5
ii  libxml2       2.9.1+dfsg1-5+deb8u3
ii  libxslt1.1    1.1.28-2+deb8u2
ii  nginx-common  1.6.2-5+deb8u4
ii  zlib1g        1:1.2.8.dfsg-2+b1

nginx-full recommends no packages.

Versions of packages nginx-full suggests:
pn  nginx-doc  <none>

-- no debconf information



More information about the Pkg-nginx-maintainers mailing list