代码拉取完成,页面将自动刷新
#!/usr/bin/env bash
#####################################################
# Created by cryptopool.builders for crypto use...
#####################################################
source /etc/functions.sh
source /etc/multipool.conf
source $STORAGE_ROOT/yiimp/.yiimp.conf
# NGINX upgrade
echo Upgrading NGINX...
hide_output sudo wget https://nginx.org/keys/nginx_signing.key
wait $!
hide_output sudo apt-key add nginx_signing.key
wait $!
sudo rm -r nginx_signing.key
echo 'deb https://nginx.org/packages/mainline/ubuntu/ xenial nginx
deb-src https://nginx.org/packages/mainline/ubuntu/ xenial nginx
' | sudo -E tee /etc/apt/sources.list.d/nginx.list >/dev/null 2>&1
hide_output sudo apt-get update;
wait $!
apt_install nginx;
wait $!
sudo mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.old
sudo cp -r /tmp/nginx.conf /etc/nginx/
restart_service nginx;
wait $!
restart_service php7.2-fpm;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。