Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- root /webserver;
- location ~* \.(eot|otf|ttf|woff|svg)$ {
- add_header Access-Control-Allow-Origin *;
- }
- }
- server {
- root /webserver;
- location / {
- if ($document_uri ~ \.(eot|otf|ttf|woff|svg)$) {
- add_header Access-Control-Allow-Origin *;
- }
- }
- }
Add Comment
Please, Sign In to add comment