virtualhost - NGINX, Include in my virtual host file -
i have dv server mediatemple , had support enable ngnix webserver. have been integrating procdn super cache on wordpress sites on dv.
i noticed on domain convoyofhope.eu cdn working properly, if view site on firefox fontface isn´t working because of cross-domain issue. found site seems solve problem http://www.red-team-design.com/firefox-doesnt-allow-cross-domain-fonts-by-default
my question is, in site says:
also, if using nginx webserver need include code below in virtual host file:
location ~* \.(eot|otf|ttf|woff)$ { add_header access-control-allow-origin *; }
i not sure put on server. checked vhost convoyofhope.eu didn´t see add make work. feedback.
it go in nginx configuration file has server
block host:
server { listen 80; server_name convoyofhope.eu; ... location ~* \.(eot|otf|ttf|woff)$ { add_header access-control-allow-origin *; } ... }
on rhel related distributions, on file system somewhere under /etc/nginx/
. particular distribution may vary.
Comments
Post a Comment