diff --git a/config/nginx/onlyoffice.conf b/config/nginx/onlyoffice.conf index 0a2693a1dc..c477a0c1b1 100644 --- a/config/nginx/onlyoffice.conf +++ b/config/nginx/onlyoffice.conf @@ -55,11 +55,8 @@ map $request_uri $content_security_policy { } map $request_time $request_time_ms { - # Simple case for 0.000 ~^0\.000$ 0; - # If 0 before decimal place, must remove leading zeros after it ~^0\.(?:0*)([^0].*)$ $1; - # Otherwise just concatenate the full pre- & post-decimal parts ~^([^0][^.]*)\.(.*)$ $1$2; }