if($server_name = fonts.xmap.org){ sub_filter 'fonts.gstatic.com' 'fonts.xmap.org'; }else if($server_name = jfonts.xmap.org){ sub_filter 'fonts.gstatic.com' 'jfonts.xmap.org'; }
Kneel down and beg the great god to explain. . .
You can test it with ./nginx -t
You can test it with ./nginx -t