mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-05 16:17:38 +02:00
Update to 2022-02-09 14:00
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
map $upstream_http_content_type $is_cacheable {
|
||||
map $sent_http_content_type $is_client_cacheable {
|
||||
default 0;
|
||||
~image/ 1;
|
||||
~audio/ 1;
|
||||
@@ -14,3 +14,12 @@ map $upstream_http_content_type $is_cacheable {
|
||||
application/vnd.ms-fontobject 1;
|
||||
application/vnd.ms-opentype 1;
|
||||
}
|
||||
|
||||
map $request_uri $is_proxy_cacheable {
|
||||
default 0;
|
||||
~*\.(png|jpe?g|bmp|gif|webp)$ 1;
|
||||
~*\.(js|css|txt)$ 1;
|
||||
~*\.(pdf)$ 1;
|
||||
~*\.(ttf|ott)$ 1;
|
||||
~*\.(mp3|mp4|avi|mpe?g|mov|flv)$ 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user