Welcome! Log In Create A New Profile

Advanced

Re: Serve static file

Juan Fco. Giordana
January 14, 2011 12:46PM
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$ {

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Serve static file

Eberx January 13, 2011 11:24PM

Re: Serve static file

Juan Fco. Giordana January 14, 2011 12:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready