This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir /etc/ssl/nginx | |
wget -P /etc/ssl/nginx/ https://cs.nginx.com/static/files/CA.crt | |
## move nginx-repo.crt to /etc/ssl/nginx/nginx-repo.crt | |
## move nginx-repo.key to /etc/ssl/nginx/nginx-repo.key | |
wget http://nginx.org/keys/nginx_signing.key | |
apt-key add nginx_signing.key | |
apt-get install apt-transport-https libgnutls26 libcurl3-gnutls | |
printf "deb https://plus-pkgs.nginx.com/ubuntu `lsb_release -cs` nginx-plus\n" >/etc/apt/sources.list.d/nginx-plus.list |