diff --git a/config/nginx/common/locations.conf b/config/nginx/common/locations.conf index 4667565c..c506f2bc 100644 --- a/config/nginx/common/locations.conf +++ b/config/nginx/common/locations.conf @@ -15,6 +15,7 @@ location = /robots.txt { # Cache static files location ~* \.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|swf)$ { + add_header "Access-Control-Allow-Origin" "*"; access_log off; log_not_found off; expires max;