mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
FIX Nginx Mainline Tests / Remove PPAs / Update Modify README
This commit is contained in:
parent
c5bb4d4054
commit
85bc6f6332
3 changed files with 7 additions and 1 deletions
|
@ -98,6 +98,10 @@ sudo apt-get purge nginx*
|
|||
#sudo nginx -t && sudo nginx -s reload
|
||||
|
||||
# Mainline from Nginx
|
||||
stablenginx=stable
|
||||
sudo add-apt-repository -y --remove ppa:nginx/${stablenginx}
|
||||
mainstreamnginx=development
|
||||
sudo add-apt-repository -y --remove ppa:nginx/${mainstreamnginx}
|
||||
sudo echo "deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx
|
||||
deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx" > /etc/apt/sources.list.d/nginx.list
|
||||
sudo wget https://nginx.org/keys/nginx_signing.key -O - | sudo apt-key add -
|
||||
|
|
|
@ -90,6 +90,8 @@ sudo apt-get purge nginx-common
|
|||
sudo apt-get purge nginx*
|
||||
|
||||
# Mainline from PPA
|
||||
stablenginx=stable
|
||||
sudo add-apt-repository -y --remove ppa:nginx/${stablenginx}
|
||||
mainstreamnginx=development
|
||||
sudo add-apt-repository -y ppa:nginx/${mainstreamnginx}
|
||||
sudo apt-get update
|
||||
|
|
|
@ -107,7 +107,7 @@ updateReadme2 () {
|
|||
# PRINT NGINX VERSION INFORMATION INTO README.md
|
||||
# **********************************************
|
||||
|
||||
printf '%s\n%s\n%s\n%s\n%s\n%s' "$_startmarker2" "##### Tested On:" "##### ${nginxv}" "##### ${nginxv1}" "##### ${nginxv2}" "$_endmarker2" >> "$_tmpnginxA"
|
||||
printf '%s\n%s\n%s\n%s\n%s\n%s\n%s' "$_startmarker2" "##### Tested On:" "##### ${nginxv} :heavy_check_mark:" "##### ${nginxv1} :heavy_check_mark:" "##### ${nginxv2} :heavy_check_mark:" "##### ${nginxv3} :heavy_check_mark:" "$_endmarker2" >> "$_tmpnginxA"
|
||||
mv ${_tmpnginxA} ${_inputdbA}
|
||||
ed -s ${_inputdbA}<<\IN
|
||||
1,/_______________________/d
|
||||
|
|
Loading…
Add table
Reference in a new issue