Serve static file

Juan Fco. Giordana juangiordana at
Fri Jan 14 20:42:43 MSK 2011

On 01/14/2011 01:19 AM, tseveendorj wrote:
> I thought I've configured Nginx serve static content itself. How do I
> know Nginx is serving Static content on itself.

- access_log off;
- #access_log off;

You told it not to log when you serve static content.

Also, you should change this:

- location ~ .php$ {
+ location ~ \.php$ {

More information about the nginx mailing list