This commit is contained in:
unknown 2020-04-06 17:13:26 +05:30
Родитель 6461f47ea9
Коммит 7e852cb9e0
2 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -125,6 +125,7 @@ set -ex
apt-get install -y --fix-missing python-software-properties unzip apt-get install -y --fix-missing python-software-properties unzip
# install the entire stack # install the entire stack
# passing php versions $phpVersion
apt-get -y --force-yes install nginx php$phpVersion-fpm php$phpVersion php$phpVersion-cli php$phpVersion-curl php$phpVersion-zip >> /tmp/apt5.log apt-get -y --force-yes install nginx php$phpVersion-fpm php$phpVersion php$phpVersion-cli php$phpVersion-curl php$phpVersion-zip >> /tmp/apt5.log
# LAMP requirements # LAMP requirements

Просмотреть файл

@ -45,7 +45,7 @@ echo $redisDns >> /tmp/vars.txt
echo $redisAuth >> /tmp/vars.txt echo $redisAuth >> /tmp/vars.txt
echo $phpVersion >> /tmp/vars.txt echo $phpVersion >> /tmp/vars.txt
# downloading and updating php packages from the repository
sudo add-apt-repository ppa:ondrej/php -y sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update sudo apt-get update
@ -72,6 +72,7 @@ check_fileServerType_param $fileServerType
fi fi
# install the base stack # install the base stack
# passing php versions $phpVersion
apt-get -y install nginx php$phpVersion php$phpVersion-fpm php$phpVersion-cli php$phpVersion-curl php$phpVersion-zip php-pear php$phpVersion-mbstring php$phpVersion-dev mcrypt php$phpVersion-soap php$phpVersion-json php$phpVersion-redis php$phpVersion-bcmath php$phpVersion-gd php$phpVersion-pgsql php$phpVersion-mysql php$phpVersion-xmlrpc php$phpVersion-intl php$phpVersion-xml php$phpVersion-bz2 apt-get -y install nginx php$phpVersion php$phpVersion-fpm php$phpVersion-cli php$phpVersion-curl php$phpVersion-zip php-pear php$phpVersion-mbstring php$phpVersion-dev mcrypt php$phpVersion-soap php$phpVersion-json php$phpVersion-redis php$phpVersion-bcmath php$phpVersion-gd php$phpVersion-pgsql php$phpVersion-mysql php$phpVersion-xmlrpc php$phpVersion-intl php$phpVersion-xml php$phpVersion-bz2
# MSSQL # MSSQL
@ -148,9 +149,10 @@ http {
set_real_ip_from 127.0.0.1; set_real_ip_from 127.0.0.1;
real_ip_header X-Forwarded-For; real_ip_header X-Forwarded-For;
#ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE #ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
#upgrading to 1.2 and droping 1 & 1.1 #upgrading to TLSv1.2, TLSv1.3 and droping 1 & 1.1
ssl_protocols TLSv1.2; ssl_protocols TLSv1.2 TLSv1.3;
#ssl_prefer_server_ciphers on; #ssl_prefer_server_ciphers on;
#adding ssl ciphers
ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384; ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;
gzip on; gzip on;