This commit is contained in:
Stefan Wieczorek
2022-09-20 18:15:54 +02:00
parent 5c0d1ecfb8
commit 3dc3bdc157

View File

@@ -21,7 +21,7 @@ server {
fastcgi_param PHP_VALUE "{{php_settings}}"; fastcgi_param PHP_VALUE "{{php_settings}}";
} }
location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf)$ { location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf|map)$ {
add_header Access-Control-Allow-Origin "*"; add_header Access-Control-Allow-Origin "*";
expires max; expires max;
access_log off; access_log off;