Add aggressive caching for /static directory
This commit is contained in:
parent
54bc06a7ad
commit
3f95d01126
|
@ -4,6 +4,11 @@ server {
|
|||
|
||||
#access_log /var/log/nginx/host.access.log main;
|
||||
|
||||
location /static {
|
||||
root /usr/share/nginx/html;
|
||||
expires max;
|
||||
}
|
||||
|
||||
location /signatures {
|
||||
root /usr/share/nginx/html;
|
||||
expires 30d;
|
||||
|
|
Loading…
Reference in New Issue