root@web:~# sudo add-apt-repository ppa:ondrej/nginx-mainline
This branch follows latest NGINX Mainline packages compiled against OpenSSL 1.0.2 for HTTP/2 support with ALPN.
BUGS&FEATURES: This PPA now has a issue tracker: https://deb.sury.org/#bug-reporting
PLEASE READ: If you like my work and want to give me a little motivation, please consider donating: https://donate.sury.org
More info: https://launchpad.net/~ondrej/+archive/ubuntu/nginx-mainline
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp_uoniibo/secring.gpg' created
gpg: keyring `/tmp/tmp_uoniibo/pubring.gpg' created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp_uoniibo/trustdb.gpg: trustdb created
gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
root@web:~# sudo apt-get update
Hit:1 http://mirror.eu.oneandone.net/ubuntu/ubuntu xenial InRelease
Hit:2 http://mirror.eu.oneandone.net/ubuntu/ubuntu xenial-updates InRelease
Hit:3 http://mirror.eu.oneandone.net/ubuntu/ubuntu xenial-backports InRelease
Hit:4 http://mirror.eu.oneandone.net/ubuntu/ubuntu xenial-security InRelease
Hit:5 http://autoinstall.plesk.com/debian/NODE_0.0.1 all InRelease
Hit:6 http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PSA_17.5.3 xenial InRelease
Hit:7 http://autoinstall.plesk.com/ubuntu/RUBY_0.0.1 xenial InRelease
Hit:8 http://autoinstall.plesk.com/ubuntu/PSA_17.5.3 xenial InRelease
Hit:9 http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PMM_0.1.10 xenial InRelease
Hit:10 http://autoinstall.plesk.com/ubuntu/PHP70_17 xenial InRelease
Hit:11 http://autoinstall.plesk.com/ubuntu/PHP71_17 xenial InRelease
Hit:12 http://autoinstall.plesk.com/ubuntu/NGINX17 xenial InRelease
Get:13 http://ppa.launchpad.net/ondrej/nginx-mainline/ubuntu xenial InRelease [23.9 kB]
Hit:14 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
Get:15 http://ppa.launchpad.net/ondrej/nginx-mainline/ubuntu xenial/main amd64 Packages [6,920 B]
Get:16 http://ppa.launchpad.net/ondrej/nginx-mainline/ubuntu xenial/main i386 Packages [6,908 B]
Get:17 http://ppa.launchpad.net/ondrej/nginx-mainline/ubuntu xenial/main Translation-en [6,120 B]
Fetched 43.8 kB in 2s (17.7 kB/s)
Reading package lists... Done
root@web:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
openssl
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@web:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
libssl1.1
The following packages will be upgraded:
openssl
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,048 kB of archives.
After this operation, 3,731 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ppa.launchpad.net/ondrej/nginx-mainline/ubuntu xenial/main amd64 libssl1.1 amd64 1.1.0f-2~ubuntu16.04.1+deb.sury.org+1 [1,335 kB]
Get:2 http://ppa.launchpad.net/ondrej/nginx-mainline/ubuntu xenial/main amd64 openssl amd64 1.1.0f-2~ubuntu16.04.1+deb.sury.org+1 [714 kB]
Fetched 2,048 kB in 1s (1,295 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libssl1.1:amd64.
(Reading database ... 185833 files and directories currently installed.)
Preparing to unpack .../libssl1.1_1.1.0f-2~ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.0f-2~ubuntu16.04.1+deb.sury.org+1) ...
Preparing to unpack .../openssl_1.1.0f-2~ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking openssl (1.1.0f-2~ubuntu16.04.1+deb.sury.org+1) over (1.0.2g-1ubuntu4.8) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libssl1.1:amd64 (1.1.0f-2~ubuntu16.04.1+deb.sury.org+1) ...
Setting up openssl (1.1.0f-2~ubuntu16.04.1+deb.sury.org+1) ...
Installing new version of config file /etc/ssl/openssl.cnf ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
root@web:~#