Extra headers

Hello there. Thank you cf services.

I am using the other cdn service for all static files on my website. in other parts I use cloudflare. I have enabled the “disable cookies” feature (on my cdn site) to prevent cookies from coming over cf in static files. however, additional headers such as CF-Cache-Status, Alt-Svc, Expect-CT and CF-RAY are still being added. What do I have to do to keep them from appearing? Please help me remove them.

Note: I disabled the dns proxy portion of cdn on Cloudflare. (only dns service active)

[email protected]:~# curl -I https://cdn.lavinya.net/cache/792e49cf/avb097bc852b265988ed5.jpeg
HTTP/2 200
date: Fri, 11 Oct 2019 19:18:23 GMT
content-type: image/jpeg
content-length: 1068034
server: BunnyCDN-DE1-481
cdn-pullzone: 77888
cdn-uid: a7ef4f5f-595a-4031-bd6a-f2115de99cde
cdn-requestcountrycode: DE
cdn-edgestorageid: 481
strict-transport-security: max-age=63072000; includeSubDomains; preload
x-frame-options: SAMEORIGIN
last-modified: Sat, 15 Jun 2019 20:00:05 GMT
cache-control: max-age=31536000, public
expires: Sat, 10 Oct 2020 19:18:23 GMT
access-control-allow-origin: *
x-content-type-options: nosniff
referrer-policy: no-referrer-when-downgrade
pragma: public
x-powered-by: PleskLin
cf-cache-status: MISS
alt-svc: h3-23=":443"; ma=86400
expect-ct: max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct
cf-ray: 52432dfa3944bf05-FRA
cdn-cachedat: 2019-10-11 19:18:23
cdn-requestid: 735a55c8d9a62a51448827c7005887dd
cdn-cache: MISS
accept-ranges: bytes

and i added this code to my .htaccess

<FilesMatch “.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|WEBM|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$”>

Header set Pragma “public”
Header append Cache-Control “public”
Header unset Set-Cookie
Header unset CF-Cache-Status
Header unset Alt-Svc
Header unset Expect-CT
Header unset CF-RAY
Header unset x-powered-by

but it does not work.

Thank you in advance. Regards.

Maybe a cache (bunnycdn perhaps?) cached those headers? The server not being Cloudflare means CF is no longer setting those headers; And I don’t think bunnycdn themselves are reselling CF’s services.

@Judge thanks for reply.
I don’t know, I’il try again tomorrow. thank you.