I'm using OLS as a reverse proxy. Currently, even if a client sends a 'accept-encoding: br' header with the request, openlitespeed changes it to 'gzip' when forwarding the request to the upstream.
But the problem is that the upstream server responds with a gzipped version, and lightspeed forwards the same gzipped file instead of unzipping it and rezipping it with brotli, as long as the client also supports gzip.
My question is -- is it possible for me to change the 'accept-encoding: gzip' header that litespeed sends to the upstream and make it 'accept-encoding: gzip,br' so that the whole chain can be upgraded to brotli whenever the client supports it?
Or even better, can I just have Litespeed forward the 'accept-encoding' header received from the client? I couldn't see any way to configure which headers are forwarded and which ones are not.
But the problem is that the upstream server responds with a gzipped version, and lightspeed forwards the same gzipped file instead of unzipping it and rezipping it with brotli, as long as the client also supports gzip.
My question is -- is it possible for me to change the 'accept-encoding: gzip' header that litespeed sends to the upstream and make it 'accept-encoding: gzip,br' so that the whole chain can be upgraded to brotli whenever the client supports it?
Or even better, can I just have Litespeed forward the 'accept-encoding' header received from the client? I couldn't see any way to configure which headers are forwarded and which ones are not.