Enable Apache Gzip Compression (mod_deflate) Globally in WHM/cPanel
Navigate to following location in WHM
Home » Service Configuration » Apache Configuration » Include Editor
and edit Pre VirtualHost Include (All versions) to include the following rules from the link below
Restart Apache and Verify
After updating settings in Apache , it will show an restart Apache button. Restart Apache service to complete the setup.