We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sudo apt get install nginx
nginx 配置
server { listen 80 default; server_name domain; location / { root /var/www/html; index index.html index.htm; }; } server { listen 443 ssl; server_name domain; ssl_certificate /etc/ssl/domain.crt; ssl_certificate_key /etc/ssl/domain.key; location / { root /var/www/html; index index.html index.htm; }; }
生成配置文件 ./getssl -c domain 修改配置文件 .getssl/getssl.cfg
./getssl -c domain
CA="https://acme-v01.api.letsencrypt.org" ACCOUNT_EMAIL="xx@xxx"
.getssl/domain/getssl.cfg
ACL=(‘/var/www/html/.well-known/acme-challenge’) DOMAIN_CERT_LOCATION=”/etc/ssl/domain.crt” DOMAIN_KEY_LOCATION=”/etc/ssl/domain.key” CA_CERT_LOCATION=”/etc/ssl/chain.crt”
生成证书 90 天更新 ./getssl -d lirawx.live
./getssl -d lirawx.live
原创使用Let’s encrypt免费SSL证书 | ITTS
Ubuntu安装配置Nginx(一)——部署Web服务 - 个人文章 - SegmentFault 思否
The text was updated successfully, but these errors were encountered:
No branches or pull requests
nginx 安装
nginx 配置
域名ssl配置
生成配置文件
./getssl -c domain
修改配置文件
.getssl/getssl.cfg
.getssl/domain/getssl.cfg
生成证书
90 天更新
./getssl -d lirawx.live
参考
原创使用Let’s encrypt免费SSL证书 | ITTS
Ubuntu安装配置Nginx(一)——部署Web服务 - 个人文章 - SegmentFault 思否
The text was updated successfully, but these errors were encountered: