nginx
小贤就是我
这个作者很懒,什么都没留下…
展开
-
centos7下docker部署nginx使用let's encrypt免费证书
大牌提供商的SSL证书可不便宜,对于大公司也许不算什么,但是对于小公司及个人来说贵了。现在国外出现的免费SSL服务商Let’s Encrypt,绝对是小公司或者开发者的福音前提条件拥有一个域名,例如 mydemo.com (在国内主机的用的话,还需要通过ICP备案) 在域名服务器创建一条A记录,指向云主机的公网IP地址。例如demo.mydemo.com指向xxx.xxx.xxx.xxx的IP地原创 2017-11-30 19:12:12 · 3418 阅读 · 0 评论 -
let's encrypt 生成证书时,404 not found的错误
今天在服务器上为另一个域名添加ssl,结果出现了http://xxx/.well-known/… 404 not found的错误[root@fungli myxhs]# sudo certbot certonly --webroot -w /webser/www/myxhs -d xxx.xxx.cn -m [email protected] --agree-tosSaving debug lo原创 2017-12-20 21:10:39 · 11375 阅读 · 3 评论 -
docker-compose up 时提示挂载目录open permission denied
docker-compose up 时提示挂载目录open permission denied[root@localhost nginx-php]# docker-compose upCreating php-fpm ... Creating php-fpm ... doneCreating nginx ... Creating nginx ... doneAttaching to php原创 2017-12-15 15:05:25 · 4483 阅读 · 0 评论