|
@ -13,10 +13,6 @@ server { |
|
|
expires max; |
|
|
expires max; |
|
|
proxy_pass $uploads_upstream; |
|
|
proxy_pass $uploads_upstream; |
|
|
} |
|
|
} |
|
|
location ~* ^/uploads/.*$ { |
|
|
|
|
|
expires max; |
|
|
|
|
|
proxy_pass $uploads_upstream; |
|
|
|
|
|
} |
|
|
|
|
|
location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ { |
|
|
location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ { |
|
|
access_log off; |
|
|
access_log off; |
|
|
} |
|
|
} |
|
|