Maxcdn dolayı kullandığım fontello patladı ; ve Maxcdn söyle bir cevap geldi

Hello,

I am reaching out to you as I have enabled CDN and I am having issues with CORS ( Cross Origin Resource Sharing Headers). My CDN provider has instructed me to add the code to my .htaccess and PleskLin ( nginx part of the configuration) from this guide: https://www.maxcdn.com/one/tutorial/...with-webfonts/.

I have added the .htaccess part without env=IS_CORS as it seems that it's not supported on the Apache version that is being run on the server.

What I need help with is the PleskLin ( nginx part) of enabling CORS. Would that be something that you can help me with?

Here are the curl responses at this current time ( although CORS shows up in the response, it will not be sent unless the they've been added to nginx as well):

curl -I http://cdn.pruvasoft.com/wp-content/....woff?73264999
HTTP/1.1 200 OK
Date: Sun, 03 Jan 2016 19:21:00 GMT
Content-Type: application/font-woff
Content-Length: 58336
Connection: keep-alive
Last-Modified: Sat, 19 Dec 2015 20:59:43 GMT
Cache-Control: max-age=604800
Expires: Sun, 10 Jan 2016 19:21:00 GMT
ETag: "5675c53f-e3e0"
X-Powered-By: PleskLin
Server: NetDNA-cache/2.2
X-Cache: HIT
Accept-Ranges: bytes

curl -I http://www.pruvasoft.com/wp-content/....woff?73264999
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 03 Jan 2016 19:23:20 GMT
Content-Type: application/font-woff
Content-Length: 58336
Connection: keep-alive
X-Accel-Version: 0.01
Last-Modified: Sat, 19 Dec 2015 20:59:43 GMT
ETag: "e3e0-5274689061f13"
Accept-Ranges: bytes
Cache-Control: max-age=31536000, public
Expires: Mon, 02 Jan 2017 19:23:20 GMT
X-Powered-By: W3 Total Cache/0.9.4.1
Vary: User-Agent
Pragma: public
Access-Control-Allow-Origin: *

Please let me know if you can configure nginx for me.

Kind Regards.
Erdogan

-----------------------------------

Once they have enabled CORS on nginx please empty your W3TC cache and CDN cache and the problem should go away.

Do let us know should you need any additional assistance.

Kind Regards.




PleskLin Aklıma takılan nokta ve Tam olarak ne yapmam gerek acaba