Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

vestacp nginx openssl http2

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Locked
  • Print view
Advanced search
8 posts • Page 1 of 1
mephivio
Posts: 198
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 8x
Web: nginx + php-fpm
vestacp nginx openssl http2

Post by mephivio » Mon Feb 22, 2016 7:40 am

Hi all,

i make a test this sunday updating NGINX to the last release (http2 support incluing) + openssl 1.02 on a Debian Jessie platform using VestaCP last release
it works great.

Before doing that on my production platform, i'd like to know if officialy i will working with your next release or i have to wait a few weeks before you publish it.

Performances under http2 are very interesting

Thanks for your feedback
Jerome
Top

newtron
Posts: 22
Joined: Wed Jan 13, 2016 4:43 pm

Re: vestacp nginx openssl http2

Post by newtron » Tue Feb 23, 2016 10:59 am

mephivio wrote: Performances under http2 are very interesting
Only interesting on HTTPS.... And LetsEncrypt isn't compatible with older browsers :(.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: vestacp nginx openssl http2

Post by skurudo » Thu Apr 14, 2016 11:53 am

mephivio wrote: Before doing that on my production platform, i'd like to know if officialy i will working with your next release or i have to wait a few weeks before you publish it.
May - it's much possible, I think.
mephivio wrote:Performances under http2 are very interesting
How so, Jerome? Much faster than SPDY?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: vestacp nginx openssl http2

Post by skurudo » Thu Apr 14, 2016 11:55 am

newtron wrote:Only interesting on HTTPS.... And LetsEncrypt isn't compatible with older browsers :(.
Yep, in plans - https://bugs.vestacp.com/issues/104

LetsEncrypt isn't compatible, not SNI by nginx? You sure?
Top

metro2030
Posts: 8
Joined: Thu Apr 14, 2016 7:12 pm

Re: vestacp nginx openssl http2

Post by metro2030 » Thu Apr 14, 2016 7:30 pm

mephivio wrote:Hi all,

i make a test this sunday updating NGINX to the last release (http2 support incluing) + openssl 1.02 on a Debian Jessie platform using VestaCP last release
it works great.

Before doing that on my production platform, i'd like to know if officialy i will working with your next release or i have to wait a few weeks before you publish it.

Performances under http2 are very interesting

Thanks for your feedback
Jerome
I have already done this:
1) you have to edit nginx repo (/etc/yum.repos.d/nginx.repo for CentOS and RHEL) by replacing 'baseurl' with this

Code: Select all

baseurl=http://nginx.org/packages/mainline/OS/OSRELEASE/$basearch/
Where OS is 'centos' or 'rhel' and OSRELEASE is '5', '6' or '7'
2) yum update
3) enter /home/(vesta_user)/conf/web/snginx.conf and add 'http2'

Code: Select all

server {
    listen	xx.xx.xx.xx:443 http2;
...
}
4) nginx -s reload

P.S.: If you use Debian-like, please refer to nginx official site.

One minus. This enables http2 for every domain=(
I am really not a programmer and can't propose any fix.
I will leave this to skurudo =)
Top

mephivio
Posts: 198
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 8x
Web: nginx + php-fpm
Re: vestacp nginx openssl http2

Post by mephivio » Thu Apr 14, 2016 8:36 pm

yep
http2 seems to be really faster
page display is also more fluid
Have a test, you will not regret it

ps: tested with Joomla, Wordpress, Prestashop
Conf : PHP 7.0 + NGINX 1.9.x
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: vestacp nginx openssl http2

Post by skurudo » Fri Apr 22, 2016 1:39 pm

metro2030 wrote: One minus. This enables http2 for every domain=(
I am really not a programmer and can't propose any fix.
I will leave this to skurudo =)
you can edit *.stpl files and add http/2 support, then you can rebuild web for users:
/usr/local/vesta/data/templates/web/nginx/
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: vestacp nginx openssl http2

Post by skurudo » Wed Jul 20, 2016 8:17 am

LetsEncrypt support added.
CLI commands for now, GUI will be later.

Code: Select all

v-add-letsencrypt-domain USER DOMAIN [ALIASES] [RESTART]
v-add-letsencrypt-user USER [EMAIL]
v-check-letsencrypt-domain USER DOMAIN
v-list-letsencrypt-user USER [FORMAT]
v-sign-letsencrypt-csr USER DOMAIN CSR_DIR [FORMAT]
v-update-letsencrypt-ssl
ENG: viewtopic.php?t=11927
RUS: viewtopic.php?t=11905
Top


Locked
  • Print view

8 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password