Page 1 of 2

HTTP/2

Posted: Wed Feb 18, 2015 7:01 pm
by alt
Is there current or planned support for HTTP/2?

Re: HTTP/2

Posted: Thu Feb 19, 2015 4:38 pm
by skurudo
When nginx/apache have full support http/2, then VestaCP can too.

Re: HTTP/2

Posted: Sun Dec 06, 2015 6:02 pm
by bechrissed
It's been almost a year since this topic was started and http/2 is production ready for nginx, Cloudflare is also using http/2 and nginx since a couple of weeks. I think the apache module is also production ready. I think it should be enabled in Vesta config by default or at least add it to the configuration so people can choose wheter they want to enable/disable http/2. I'm looking forward to using http/2 with Vesta. Regards, Chris

Re: HTTP/2

Posted: Mon Dec 07, 2015 1:41 am
by RevengeFNF
Im using http/2 protocol with Vesta. You just need to add a simple word in nginx conf file.

Re: HTTP/2

Posted: Mon Dec 07, 2015 8:01 am
by skurudo
bechrissed wrote:http/2 is production ready for nginx
Chris, for all supported distro? You checked this? ;)

Re: HTTP/2

Posted: Mon Dec 07, 2015 1:36 pm
by bechrissed
RevengeFNF wrote:Im using http/2 protocol with Vesta. You just need to add a simple word in nginx conf file.
I know how to configure it, but the current versions of nginx and apache that come with Vesta do not support http/2. I don't know how to upgrade them both without breaking vestacp features/config.
skurudo wrote:
bechrissed wrote:http/2 is production ready for nginx
Chris, for all supported distro? You checked this? ;)
Yes, as a matter of fact Apache httpd also has support (for all distro's) since version 2.4.17 (vesta comes with 2.4.7).

Re: HTTP/2

Posted: Mon Dec 07, 2015 2:06 pm
by RevengeFNF
Its not Vesta that comes with 2.4.7, its your Operating System.

Re: HTTP/2

Posted: Mon Dec 07, 2015 2:09 pm
by lordcris
For Centos 7
put in

/etc/yum.repos.d/nginx.repo

the following:

Code: Select all

name=nginx repo
baseurl=http://nginx.org/packages/mainline/centos/7/$basearch/
gpgcheck=0
enabled=1
that's it!

Re: HTTP/2

Posted: Mon Dec 07, 2015 2:43 pm
by bechrissed
RevengeFNF wrote:Its not Vesta that comes with 2.4.7, its your Operating System.
Ok thanks, will have a look how to update to more recent versions for Ubuntu server. At the moment apt-get update returns no new versions for both Apache and Nginx.

Re: HTTP/2

Posted: Mon Dec 07, 2015 3:58 pm
by RevengeFNF
I don't know much about Ubuntu, but in Centos its not easy to update it. The chances of breaking something are very high.