Delete cache control rool for personal

This commit is contained in:
sk81.biz@gmail.com 2023-02-01 11:11:24 +03:00
parent 9e215c04fc
commit 0ef62895f4

View File

@ -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;