Skip to content

Commit d6135d1

Browse files
authored
Update site-default.conf
1 parent 881b9e0 commit d6135d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CORS-CDN/site-default.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ location /media/ {
110110

111111
location ~* \.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2)$ {
112112
add_header Cache-Control "public";
113+
add_header Access-Control-Allow-Origin "*";
113114
add_header X-Frame-Options "SAMEORIGIN";
114115
expires +1y;
115116
try_files $uri $uri/ /get.php?$args;

0 commit comments

Comments
 (0)