Commit 0553e057 by John Jarvis

Merge pull request #675 from edx/jarv/cross-domain-fonts

set access-control-allow-origin header on fonts
parents f86e4997 e4303406
......@@ -38,6 +38,11 @@ server {
rewrite ^(.*)/favicon.ico$ /static/images/favicon.ico last;
# http://www.red-team-design.com/firefox-doesnt-allow-cross-domain-fonts-by-default
location ~* \.(eot|otf|ttf|woff)$ {
add_header Access-Control-Allow-Origin *;
}
location @proxy_to_cms_app {
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-Forwarded-Port $http_x_forwarded_port;
......
......@@ -35,6 +35,10 @@ server {
rewrite ^(.*)/favicon.ico$ /static/images/favicon.ico last;
# http://www.red-team-design.com/firefox-doesnt-allow-cross-domain-fonts-by-default
location ~* \.(eot|otf|ttf|woff)$ {
add_header Access-Control-Allow-Origin *;
}
location @proxy_to_lms_app {
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment