HTTP/2
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: HTTP/2
hi @lordcris, I checked my nginx.repo file, the conent is exactly what you mentioned. But my nginx version is 1.8.5, not 1.9.5+.lordcris wrote:For Centos 7
put in
/etc/yum.repos.d/nginx.repo
the following:
that's it!Code: Select all
name=nginx repo baseurl=http://nginx.org/packages/mainline/centos/7/$basearch/ gpgcheck=0 enabled=1
How to update NginX to 1.9.5+ and enable http/2 in VestaCP?
Thank you.
Re: HTTP/2
baijianpeng wrote:hi @lordcris, I checked my nginx.repo file, the conent is exactly what you mentioned. But my nginx version is 1.8.5, not 1.9.5+.lordcris wrote:For Centos 7
put in
/etc/yum.repos.d/nginx.repo
the following:
that's it!Code: Select all
name=nginx repo baseurl=http://nginx.org/packages/mainline/centos/7/$basearch/ gpgcheck=0 enabled=1
How to update NginX to 1.9.5+ and enable http/2 in VestaCP?
Thank you.
dud you run
Code: Select all
yum update
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: HTTP/2
Not yet. I am afraid to break something. Is it safe to run this command right now?lordcris wrote: dud you run
?Code: Select all
yum update
Thank you.
Re: HTTP/2
baijianpeng wrote:Not yet. I am afraid to break something. Is it safe to run this command right now?lordcris wrote: dud you run
?Code: Select all
yum update
Thank you.
Code: Select all
yum update nginx
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: HTTP/2
The result is:
It seems that my CentOS did not find any update package for NginX.[root@ijoomla ~]# yum update nginx
Loaded plugins: langpacks
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base | 3.6 kB 00:00:00
epel | 4.3 kB 00:00:00
extras | 3.4 kB 00:00:00
http://nginx.org/packages/centos/7/x86_ ... repomd.xml: [Errno 14] curl#6 - "Could not resolve host: nginx.org; Name or service not known"
Trying other mirror.
remi-php55 | 2.9 kB 00:00:00
remi-safe | 2.9 kB 00:00:00
updates | 3.4 kB 00:00:00
vesta | 2.9 kB 00:00:00
(1/6): epel/x86_64/group_gz | 169 kB 00:00:00
(2/6): epel/x86_64/updateinfo | 480 kB 00:00:00
(3/6): updates/7/x86_64/primary_db | 2.3 MB 00:00:00
(4/6): remi-php55/primary_db | 184 kB 00:00:01
(5/6): remi-safe/primary_db | 352 kB 00:00:02
(6/6): epel/x86_64/primary_db | 3.8 MB 00:00:04
No packages marked for update
[root@ijoomla ~]#