<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><span class="Apple-tab-span" style="white-space:pre">        </span>I am having issues with IPv6 being able to view any files static or dynamic. I keep getting the error </div><div>curl -6 <a href="http://ipv6.example.com/test.png">http://ipv6.example.com/test.png</a></div><div><br></div><div><div>2011/05/14 16:18:36 [info] 6217#0: *1 client timed out (110: Connection timed out) while sending response to client, client: xxxx:xxx:xxxx:xxxx:xxx:xxxx:xxxx:xxxx, server: <a href="http://example.com">example.com</a>, request: "GET /test.png HTTP/1.1", host: "example.com"</div></div><div><br></div><div>but i can do HEAD requests and such and get a response. </div><div><br></div><div><div> curl -6 -I <a href="http://ipv6.example.com">ipv6.example.com</a></div><div>HTTP/1.1 200 OK</div><div>Server: nginx/1.0.2</div><div>Date: Sun, 15 May 2011 08:44:31 GMT</div><div>Content-Type: text/html</div><div>Content-Length: 0</div><div>Last-Modified: Thu, 24 Jan 2008 19:27:58 GMT</div><div>Connection: keep-alive</div><div>Keep-Alive: timeout=10</div><div>Accept-Ranges: bytes</div></div><div><br></div><div><div>nginx -V</div><div>nginx: nginx version: nginx/1.0.2</div><div>nginx: TLS SNI support enabled</div><div>nginx: configure arguments: --prefix=/usr --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error_log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --user=nginx --group=nginx --with-cc-opt=-I/usr/include --with-ld-opt=-L/usr/lib --http-log-path=/var/log/nginx/access_log --http-client-body-temp-path=/var/tmp/nginx/client --http-proxy-temp-path=/var/tmp/nginx/proxy --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi --http-scgi-temp-path=/var/tmp/nginx/scgi --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi --with-ipv6 --with-pcre --with-http_gzip_static_module --with-http_realip_module --with-http_ssl_module --without-mail_imap_module --without-mail_pop3_module --without-mail_smtp_module</div></div><div><br></div><div>and nginx.conf</div><div><br></div><div><div>user nginx nginx;</div><div>worker_processes 2;</div><div>worker_rlimit_nofile 8192;</div><div><br></div><div>error_log /var/log/nginx/error_log info;</div><div>#error_log /var/log/nginx/error_log debug;</div><div>events {</div><div> worker_connections 8192;</div><div># worker_connections 1024;</div><div> use epoll;</div><div>}</div><div><br></div><div>http {</div><div> include /etc/nginx/mime.types;</div><div># include /etc/nginx/proxy.conf;</div><div> include /etc/nginx/fastcgi_params;</div><div><br></div><div> default_type application/octet-stream;</div><div><br></div><div> log_format main</div><div> '$remote_addr - $remote_user [$time_local] '</div><div> '"$request" $status $bytes_sent '</div><div> '"$http_referer" "$http_user_agent" '</div><div> '"$gzip_ratio"';</div><div><br></div><div> client_header_timeout 10;</div><div> client_body_timeout 10;</div><div> #needed for file uploads > 1m</div><div> client_max_body_size 10m;</div><div> send_timeout 10;</div><div><br></div><div> connection_pool_size 256;</div><div> client_header_buffer_size 1k;</div><div> large_client_header_buffers 4 2k;</div><div> request_pool_size 4k;</div><div><br></div><div> gzip on;</div><div> gzip_min_length 1100;</div><div> gzip_buffers 16 8k;</div><div> gzip_static on;</div><div> gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;</div><div><br></div><div> output_buffers 1 32k;</div><div> postpone_output 1460;</div><div><br></div><div> sendfile on;</div><div> tcp_nopush on;</div><div> tcp_nodelay on;</div><div><br></div><div> keepalive_timeout 10 10;</div><div><br></div><div> ignore_invalid_headers on;</div><div><br></div><div> index index.html index.php;</div></div><div><div> server {</div><div> listen [::]:80 default ipv6only=on;</div><div> listen 80 default;</div><div> server_name <a href="http://example.com">example.com</a> <a href="http://www.example.com">www.example.com</a> <a href="http://ipv6.example.com">ipv6.example.com</a>;</div><div><br></div><div> access_log /var/log/nginx/t<a href="http://example.com">example.com</a>.access_log main;</div><div> error_log /var/log/nginx/<a href="http://example.com">example.com</a>.error_log info;</div><div> </div><div> root /var/www/<a href="http://example.com">example.com</a>/htdocs;</div><div> autoindex on;</div><div><br></div><div> location /blog/ {</div><div> if (!-e $request_filename) {</div><div> rewrite ^.+?(/.*\.php)$ /blog$1 last;</div><div> rewrite ^.+?(/wp-.*) /blog$1 last;</div><div> rewrite ^ /blog/index.php last;</div><div> }</div><div> }</div><div> </div><div> location ~ ^.+\.php {</div><div> include /etc/nginx/fastcgi_params;</div><div> fastcgi_param SCRIPT_FILENAME /var/www/example.com/htdocs$fastcgi_script_name;</div><div> fastcgi_pass 127.0.0.1:9000;</div><div> fastcgi_index index.php;</div><div> }</div><div> </div><div> location ~* ^.+\.(jpg|jpeg|gif|png)$ {</div><div> access_log off;</div><div> expires 30d;</div><div> }</div><div><br></div><div> location ^~ /c/ {</div><div> return 403;</div><div> }</div><div> location ^~ /p/ {</div><div> return 403;</div><div> }</div><div> }</div></div><div><div> include /etc/nginx/vhosts.d/*.conf;</div><div>}</div></div><div><br></div><div>i have turned firewall off to ensure that wasn't an issue. I am not sure were else to look. </div><div><br></div><div>Here is also a debug log</div><div><a href="http://pastie.org/private/dbzwwlkxaelmex47hvwnzq">http://pastie.org/private/dbzwwlkxaelmex47hvwnzq</a></div><div><br></div><div>v/r,</div><div>Rob</div></body></html>