# File status about

**URL:** <https://www.ruby-forum.com/t/file-status-about/219155>\
**Category:** NGINX\
**Created:** [April 22, 2012, 6:04am UTC](https://www.ruby-forum.com/t/file-status-about/219155 "2012-04-22T06:04:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurdipe\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/b77776/32.png) [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Post date:** [April 22, 2012, 6:04am UTC](https://www.ruby-forum.com/t/file-status-about/219155/1 "2012-04-22T06:04:55Z")

</div>

Web site is the Python, going to some type of the file will be forwarded  
to the static files directory, the static directory should not return to  
404, but there is a problem, the trouble you help me see  
Web site configuration files:

```
    location ~* \.(php|php*|git*|htm|html|txt)$ {
                 root /web/www/static;
            }

```

curl -I [http://www.a.com/a.php](http://www.a.com/a.php)  
curl -I [http://www.a.com/i.html](http://www.a.com/i.html)

The result that come out: curl: (52) Empty reply from server  
why not 404?

Posted at Nginx Forum:

> **[File status about](https://forum.nginx.org/read.php?2,225612,225612#msg-225612)**
>
> Web site is the Python, going to some type of the file will be forwarded to the static files directory, the static directory should not return to 404, but there is a problem, the trouble you help me see Web site configuration files: location ~\*...
