Fix nginx config for cache config (#306)
* Fix cache-controll config * Modify nginx cofig
This commit is contained in:
parent
eacf6e663c
commit
5bcca1da75
@ -24,7 +24,7 @@ map $request_uri $header_x_frame_options {
|
||||
|
||||
map $request_uri $cache_control {
|
||||
default "";
|
||||
~*^/(api\/2\.0*|storage|login\.ashx|products\/*\/httphandlers\/filehandler.ashx|ChunkedUploader.ashx|apisystem|sh) "no-cache, no-store, must-revalidate";
|
||||
~*^/(api\/2\.0.*|storage|login\.ashx|products\/.+\/httphandlers\/filehandler\.ashx|ChunkedUploader.ashx|apisystem|sh) "no-cache, no-store, must-revalidate";
|
||||
}
|
||||
|
||||
include /etc/nginx/includes/onlyoffice-*.conf;
|
||||
|
Loading…
Reference in New Issue
Block a user