When using subfilter the content-length header is stripped as Nginx is modifying the content.
The application relies on the content-length header but we also must use subfilter.
Is there a way to have Nginx dynamically calculate and add a new content-length header before sending the data to the client?
Thanks!