This commit is contained in:
Stefan Wieczorek
2022-09-27 10:01:40 +02:00
parent 63250bb045
commit 2adc8fb658
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,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;

View File

@@ -90,7 +90,7 @@ server {
proxy_temp_file_write_size 256k; proxy_temp_file_write_size 256k;
} }
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;