I would like to use only HTTP 1.0 on a certain VirtualHost in Apache. The reason for doing so is that I use CloudFlare, and my apps requires the Content-Length header in the HTTP response. However, CloudFlare only forwards the Content-Length header if HTTP 1.0 is used as the protocol (refer to this support ticket: https://support.cloudflare.com/hc/en-us/requests/527063).
My question here is how do I easily set up a certain VirtualHost in Apache to accomplish this (force the use of HTTP 1.0 as the protocol)? Do I use something like SetEnv in a sites-available config file? Or perhaps, I use the HTTP 1.1 protocol, but send HTTP 1.0 as the protocol in the header?