Hi to all, I have an problem on one website where ttf file is blocked by CORS policy
The error is follow: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I have solved it adding this line add_header Access-Control-Allow-Origin *;
into the vhost conf gfile of related domain
Now I want to know how I can set it into nginx or cwp conf file?
I want this line of code to be inserted automatically every time a vhost.conf file is regenerated
Anyone can tell me where add this line of code?