From 846c383fe127af102ea124fc524182d246656e4a Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 9 Nov 2023 13:16:28 -0300 Subject: [PATCH] Add new dependency of Nextcloud Signed-off-by: Vitor Mattos --- .docker/web/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/web/nginx.conf b/.docker/web/nginx.conf index cfeaa94..8dfab67 100644 --- a/.docker/web/nginx.conf +++ b/.docker/web/nginx.conf @@ -154,7 +154,7 @@ http { # Adding the cache control header for js, css and map files # Make sure it is BELOW the PHP block - location ~ \.(?:css|js|woff2?|svg|gif|map)$ { + location ~ \.(?:css|js|mjs|woff2?|svg|gif|map)$ { try_files $uri /index.php$request_uri; add_header Cache-Control "public, max-age=15778463"; # Add headers to serve security related headers (It is intended to