diff --git a/config/nginx/onlyoffice.conf b/config/nginx/onlyoffice.conf index 69f832fd9c..5106554629 100644 --- a/config/nginx/onlyoffice.conf +++ b/config/nginx/onlyoffice.conf @@ -27,7 +27,6 @@ map $request_uri $cache_control { ~*\/(api\/2\.0.*|storage|login\.ashx|products\/.+\/httphandlers\/filehandler\.ashx|ChunkedUploader.ashx|ThirdPartyAppHandler|apisystem|sh|remoteEntry\.js|debuginfo\.md|static\/scripts.*) "no-cache, no-store, must-revalidate"; ~*\/(locales.*\.json) "must-revalidate, no-transform, max-age=900"; ~*\/(images|favicon.ico.*)|\.(js|woff|woff2|css)|\/(storage\/room_logos\/root\/|storage\/userPhotos\/root\/) "public, max-age=31536000, immutable"; - ~*\.(ogg|ogv|svg|svgz|eot|otf|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|md)$ "must-revalidate, no-transform, max-age=0, s-maxage=86400"; } include /etc/nginx/includes/onlyoffice-*.conf;