Comment 3 for bug 929334

Revision history for this message
kolya (mar-kolya) wrote :

apt-cache policy nginx:
nginx:
  Installed: 0.7.65-1ubuntu2.2
  Candidate: 0.7.65-1ubuntu2.2

lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid

I do not think that my current nginx configuration is particularly relevant for this ticket since I've changed it to avoid the problem.

This is part of default /etc/nginx/site-available/default:

server {
        listen [::]:80 default;
        server_name localhost;

        access_log /var/log/nginx/localhost.access.log;

        location / {
                root /var/www/nginx-default;
                index index.html index.htm;
        }

        location /doc {
                root /usr/share;
                autoindex on;
                allow 127.0.0.1;
                deny all;
        }

        location /images {
                root /usr/share;
                autoindex on;
        }
}

That 'deny all' doesn't work with ipv6 according to http://wiki.nginx.org/HttpAccessModule (ipv6 support appeared at version 0.8.22).