Welcome! Log In Create A New Profile

Advanced

Re: How to check which directive actually delivers the files?

January 29, 2016 06:40AM
To server static files from nginx use the below configs inside serverblock of nginx,

location ~* \.(js|css|png|jpg|jpeg|gif|ico|eot|otf|ttf|woff)$ {
access_log off; log_not_found off; expires 30d;
}

and use symbol "|" without quote and extension name to add more static file or extension types.

Source: http://atulhost.com/install-wordpress-on-nginx-with-fastcgi-cache-in-ubuntu
Subject Author Posted

How to check which directive actually delivers the files?

Anonymous User January 26, 2016 07:12AM

Re: How to check which directive actually delivers the files?

atulhost January 29, 2016 06:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
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