# Fancyindex module hangs connection

**URL:** <https://www.ruby-forum.com/t/fancyindex-module-hangs-connection/228960>\
**Category:** NGINX\
**Created:** [May 14, 2013, 11:38am UTC](https://www.ruby-forum.com/t/fancyindex-module-hangs-connection/228960 "2013-05-14T11:38:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peku33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/779978/32.png) [@peku33](https://www.ruby-forum.com/u/peku33)\
**Post date:** [May 14, 2013, 11:38am UTC](https://www.ruby-forum.com/t/fancyindex-module-hangs-connection/228960/1 "2013-05-14T11:38:38Z")

</div>

Hi everybody.  
I’m facing a problem with my nginx 1.4.0 server bulit from portage on  
gentoo  
(fresh instllation, amd64). After configuring one location to use  
fancyindex on;  
directory listing loads to footer and then connection freezes for about  
1  
minute. In this time no data is received, but browser shows that the  
page is  
still being loaded. After one minute, server finally sends fancyindex  
footer  
and connection closes.

Here is my nginx.conf:

> **[user nginx nginx;worker\_processes 1;error\_log /var/log/nginx/error\_log inf -...](https://pastebin.com/cXFWrQug)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Here is my security.conf:

> **[location ~ /\\.ht{ deny all;} - Pastebin.com](https://pastebin.com/4JEz1f35)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

And here is how the transfer goes:  
[http://pastebin.com/FqrA1sZB](http://pastebin.com/FqrA1sZB)

Here are the flags I used for building:

> **[Installed versions: 1.4.0(20:13:00 03.05.2013)(http http-cache ipv6 nginx\_ -...](https://pastebin.com/dEm4j6VJ)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

While using autoindex instead of fancyindex everything works correct.

Posted at Nginx Forum:

> **[Fancyindex module hangs connection](https://forum.nginx.org/read.php?2,239168,239168#msg-239168)**
>
> Hi everybody. I'm facing a problem with my nginx 1.4.0 server bulit from portage on gentoo (fresh instllation, amd64). After configuring one location to use fancyindex on; directory listing loads to footer and then connection freezes for about 1...

---

<div class="post-metadata">

**Author:** ![peku33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/779978/32.png) [@peku33](https://www.ruby-forum.com/u/peku33)\
**Post date:** [May 20, 2013, 11:11pm UTC](https://www.ruby-forum.com/t/fancyindex-module-hangs-connection/228960/2 "2013-05-20T23:11:23Z")

</div>

Thanks!

I found solution myself:

> <https://serverfault.com/questions/507375/nginx-not-finishing-fancyindex>

Posted at Nginx Forum:

> **[Re: Fancyindex module hangs connection](https://forum.nginx.org/read.php?2,239168,239355#msg-239355)**
>
> Hi everybody. I'm facing a problem with my nginx 1.4.0 server bulit from portage on gentoo (fresh instllation, amd64). After configuring one location to use fancyindex on; directory listing loads to footer and then connection freezes for about 1...
