From 4db54257bcf803d25451869a1bcf32654eb5792d Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 3 Sep 2020 14:06:27 +0200 Subject: [PATCH] Migrated nginx from ppa to NGINX Own repo --- CoreModules/nginx/preconf.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CoreModules/nginx/preconf.sh b/CoreModules/nginx/preconf.sh index bcca3d0..559807f 100644 --- a/CoreModules/nginx/preconf.sh +++ b/CoreModules/nginx/preconf.sh @@ -1 +1,2 @@ -$PKGA ppa:nginx/stable -y > $OUTPUT 2>&1 +echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" > /etc/apt/sources.list.d/nginx.list +curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add -