Welcome! Log In Create A New Profile

Advanced

Content-Length header missing

Posted by jonbev 
Content-Length header missing
November 22, 2018 09:42AM
Running Drupal 8 on php 7.2 and nginx 1.14.0.

We are using cloudfront and to utilise the built in compression in CF it requires that we send a Content-Length header.

If I turn gzip off; on nginx we don't get a Transfer-Encoding: chunked header which I understand you can't have both Transfer-Encoding & Content-Length but we now get neither.

Is there a way to get nginx to add the header?

Thanks

Jon
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 90
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready