diff --git a/.docker/images/nginx/helpers/203-expires.conf b/.docker/images/nginx/helpers/203-expires.conf index d3d0ca79..ab644a9f 100644 --- a/.docker/images/nginx/helpers/203-expires.conf +++ b/.docker/images/nginx/helpers/203-expires.conf @@ -1,5 +1,5 @@ # Only cache binary files for 30 minutes. These are the default allowed file extensions uploads that are not images. -location ~* ^/sites/default/(files/(?!private/)).+\.(pdf|doc|docx|txt|xls|xlsx|csv|ppt|pptx|pps|ppsx|odt|ods|odp|mp3|mov|mp4|m4a|m4v|mpeg|avi|ogg|oga|ogv|weba|webp|webm)$ { +location ~* ^/sites/default/(files/(?!private/)).+\.(pdf|doc|docx|txt|xls|xlsx|csv|ppt|pptx|pps|ppsx|odt|ods|odp|mp3|mov|mp4|m4a|m4v|mpeg|avi|ogg|oga|ogv|weba|webm)$ { include /etc/nginx/conf.d/drupal/location_expires_prepend*.conf; expires ${BINARY_FILES_EXPIRES:-1800s};