Skip to main content

[CPANEL-37171] - Could not enable http2

Comments

2 comments

  • cPJustinD
    Hello ! This is a known issue, and we've filed a case with our internal development team for review, CPANEL-37171. You can find more information on this case, as well as follow for updates here:
    0
  • sahostking
    I followed an article from cPanel that helped. Procedure To enable this globally, add a new file ending in .conf such as http2.conf to the Nginx configuration folder located in /etc/nginx/conf.d and add the following contents. server { listen 443 ssl http2; listen [::]:443 ssl http2; } Save the file and verify the Nginx configuration. Then, restart Nginx as well as PHP-FPM. nginx -t /scripts/restartsrv_nginx ; /scripts/restartsrv_apache_php_fpm I then checked my file: tail -f /var/log/nginx/access.log and it showed: HTTP/2.0 Even gtmetrix reported all is good now with http2 :)
    0

Please sign in to leave a comment.