(Dec 29) New version 0.9.8-18 has been released. More you can find here

vestacp nginx openssl http2 Topic is solved

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Forum rules
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.
mephivio
Posts: 174
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 9x
Web: nginx + php-fpm

vestacp nginx openssl http2

Postby 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

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

Re: vestacp nginx openssl http2

Postby 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 :(.

skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: vestacp nginx openssl http2

Postby 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?
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now

skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: vestacp nginx openssl http2

Postby 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?
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now

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

Re: vestacp nginx openssl http2

Postby 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 =)

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

Os: Debian 9x
Web: nginx + php-fpm

Re: vestacp nginx openssl http2

Postby 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

skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: vestacp nginx openssl http2  Topic is solved

Postby 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/
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now

skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: vestacp nginx openssl http2

Postby 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
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now


Return to “Web Server”



Who is online

Users browsing this forum: No registered users and 3 guests

cron