HTTP/2
Re: HTTP/2
When nginx/apache have full support http/2, then VestaCP can too.
-
- Posts: 5
- Joined: Sun Dec 06, 2015 5:59 pm
Re: HTTP/2
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
-
- Posts: 92
- Joined: Sat Aug 02, 2014 6:50 pm
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: HTTP/2
Im using http/2 protocol with Vesta. You just need to add a simple word in nginx conf file.
Re: HTTP/2
Chris, for all supported distro? You checked this? ;)bechrissed wrote:http/2 is production ready for nginx
-
- Posts: 5
- Joined: Sun Dec 06, 2015 5:59 pm
Re: HTTP/2
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.RevengeFNF wrote:Im using http/2 protocol with Vesta. You just need to add a simple word in nginx conf file.
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).skurudo wrote:Chris, for all supported distro? You checked this? ;)bechrissed wrote:http/2 is production ready for nginx
-
- Posts: 92
- Joined: Sat Aug 02, 2014 6:50 pm
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: HTTP/2
Its not Vesta that comes with 2.4.7, its your Operating System.
Re: HTTP/2
For Centos 7
put in
/etc/yum.repos.d/nginx.repo
the following:
that's it!
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
-
- Posts: 5
- Joined: Sun Dec 06, 2015 5:59 pm
Re: HTTP/2
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.RevengeFNF wrote:Its not Vesta that comes with 2.4.7, its your Operating System.
-
- Posts: 92
- Joined: Sat Aug 02, 2014 6:50 pm
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: HTTP/2
I don't know much about Ubuntu, but in Centos its not easy to update it. The chances of breaking something are very high.