Welcome! Log In Create A New Profile

Advanced

Re: Долгое время загрузки статики

April 26, 2015 06:11AM
Забыл добавить часть конфига из блока "server":

# Static files location
location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js)$ {
if ($args ~* "^download") {
add_header Content-Disposition "attachment; filename=$1";
}

expires 30d;
root /home/www/domain.com;
}
Subject Author Posted

Долгое время загрузки статики

grigory April 25, 2015 02:22PM

Re: Долгое время загрузки статики

grigory April 25, 2015 03:24PM

Re: Долгое время загрузки статики

grigory April 26, 2015 06:11AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 78
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready