diff --git a/docker/web/nginx.conf b/docker/web/nginx.conf index 9c8505e..9507d9e 100644 --- a/docker/web/nginx.conf +++ b/docker/web/nginx.conf @@ -128,7 +128,7 @@ # Adding the cache control header for js and css files # Make sure it is BELOW the PHP block - location ~ \.(?:css|js|woff|svg|gif)$ { + location ~ \.(?:css|js|woff2?|svg|gif)$ { 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