location / {
root /data/static;
index index.html index.htm;
if ( $http_origin ~ .*.nowfox.com ) {
add_header 'Access-Control-Allow-Origin' $http_origin;
add_header 'Access-Control-Allow-Methods' 'GET';
}
}