Nginx is sending duplicate headers "Content-Length" and "Connection"
Server configuration: CentOS 7, Apache 2.4.17, PHP 5.6.16, NginX 1.8.0 as reverse proxy, mod_security and rules latest version and DirectAdmin 1.49.1.
The problem is: nginx is sending "Content-Length" and "Connection" headers twice per request. I have tried add to proxy_hide_header Content-Length to /etc/nginx/nginx-vhosts.conf but that didn't help. Googling (much) didn't get me any further.
How can i remove these double headers? Help much appreciated!
Server configuration: CentOS 7, Apache 2.4.17, PHP 5.6.16, NginX 1.8.0 as reverse proxy, mod_security and rules latest version and DirectAdmin 1.49.1.
The problem is: nginx is sending "Content-Length" and "Connection" headers twice per request. I have tried add to proxy_hide_header Content-Length to /etc/nginx/nginx-vhosts.conf but that didn't help. Googling (much) didn't get me any further.
How can i remove these double headers? Help much appreciated!