申请SSL
docker run -it --rm -v /Users/vincentmi/cert:/etc/letsencrypt certbot/certbot certonly --manual --preferred-challenges dns
路径
SSL保存路径为 /Users/vincentmi/cert/live/philo.in
NGINX 配置
server {
listen 443 ssl http2;
server_name *.dev.philo.in;
ssl_certificate /Users/vincentmi/cert/live/philo.in/fullchain.pem;
ssl_certificate_key /Users/vincentmi/cert/live/philo.in/privkey.pem;
}
更新SSL
docker run -it --rm -v /Users/vincentmi/cert:/etc/letsencrypt certbot/certbot renew
「真诚赞赏,手留余香」
标签
aframe
andrew-ng
arduino
blockchain
cgi
consul
docker
eth
ethereum
evm
feign
flask
golang
hw
java
javascript
jpa
js
k8s
kubernetes
linux
mac
machine-learning
math
mysql
nginx
op
opentcv
ops
poco
pptp
python
rd
spring
springboot
ssl
thymeleaf
type
vagrant
vpn
vue
webrtc
workflow
技术文章
新浪博客
无聊
生活
生活记录
股票
运维