Author Topic: How to Enable HTTP/2 on CWP7  (Read 10624 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to Enable HTTP/2 on CWP7
« on: January 25, 2018, 03:19:51 PM »
Please have a look at this article » https://www.mysterydata.com/how-to-enable-http-2-on-cwp7-centos-web-panel/

All the best,
Ben
« Last Edit: June 28, 2018, 11:46:50 AM by Sandeep »

Offline
**
Re: How to Enable HTTP/2 on CWP7
« Reply #1 on: January 25, 2018, 11:42:06 PM »
Thanks for sharing such a valuable post. :)
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

Offline
*
Re: How to Enable HTTP/2 on CWP7
« Reply #2 on: February 05, 2018, 01:03:18 PM »
If ngninx test (/usr/sbin/nginx -t) gives you »
Code: [Select]
nginx: [emerg] a duplicate default server for 12.34.56.78:443 in /etc/nginx/conf.d/your-addon-domain.com_ssl.conf:4
nginx: configuration file /etc/nginx/nginx.conf test failed
as an error, it's because you have 2 or more _ssl.conf with "default_server" under /etc/nginx/conf.d/

Only 1 _ssl.conf (vhost) is allowd to have »
server {
    listen 12.34.56.78:443 ssl http2 default_server;
    …
}

Remove either all or remove all except 1 "default_server" inside your-main-domain.com_ssl.conf
Good luck.
« Last Edit: February 05, 2018, 01:05:33 PM by zenben »

Offline
*
Re: How to Enable HTTP/2 on CWP7
« Reply #3 on: December 13, 2018, 07:22:00 AM »
Thank you for sharing  :)