Apache is adding header to images resulting in corrupting images

  apache, docker, kubernetes

I’m dockerizing a laravel application, my image is based on an apache image, this is being hosted in AKS, where I’m mounting azure files with images share inside /public/images, the problem is apache would add header inside the image resulting in enter code here

enter image description here

even if I exec inside the pod itself and try curl localhost, I get the same problem so I’m sure it’s not a problem with routing or my ingress

Source: Docker Questions