Package: nginx
Version: 1.2.1-2.2+wheezy1
Severity: normal

Hello,

"location /" is defined as:

# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.html;

Either the comment or the try_files entry is wrong.
This does not fall back to 404 but displays the index.html in the server root 
instead (and only displays 404 when that file is missing).

The (disabled) configuration for https is fine:
try_files $uri $uri/ =404;

The config in unstable has the same problem.

cu
Gabriel

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.41-042stab078.27 (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nginx depends on:
ii  nginx-full  1.2.1-2.2+wheezy1

nginx recommends no packages.

nginx suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to