LNMP环境下申请 Let’s Encrypt 免费SS 证书证书教程
# yum install epel-release //安装yum扩展源 # yum install certbot //安装证书自动生成工具 # nginx -s stop //停止nginx服务准备签发证书 # certbot cer ...
# yum install epel-release //安装yum扩展源 # yum install certbot //安装证书自动生成工具 # nginx -s stop //停止nginx服务准备签发证书 # certbot cer ...
备份LNMP操作: killall nginx service mysql stop tar zcvf /home/wwwroot/wwwroot.tar.gz /home/wwwroot tar zcvf /home/wwwroot/ng ...
安装 tengine 备份 nginx 配置文件: wget -c http://tengine.taobao.org/download/tengine-2.2.0.tar.gz tar zxvf tengine-2.2.0.tar.gz ...
一、LNMP高级应用之nginx最简单反向代理 server { listen 80; server_name thefox.cn; location / { proxy_pass http://cache.thefox.cn/; prox ...
此脚本用Curl监控Nginx网站状态,如回应502信息即重启LNMP。 #!/bin/bash #Created by http://www.thefox.cn website=http://www.thefox.cn #修改为您的网址 ...