ssl自动更新证书

安装证书

yum install certbot

更新证书之前先开启80 443 端口

自动生成证书
certbot certonly --standalone --agree-tos -n -d www.immerser.net -d immerser.net -m yefubao@gmail.com

random.org/strings/

html模板

free-css.com/free-css-templates

安装nginx

yum install nginx -y

查看nginx配置是否正常

nginx -t

重启nginx

systemctl restart nginx

查看状态

systemctl status nginx

停止nginx

systemctl stop nginx

nginx默认配置文件目录

/etc/nginx/conf.d/default.conf


nginx默认根目录

/usr/share/nginx/html

原文地址:https://www.cnblogs.com/shabake/p/15612788.html