nginx
文章平均质量分 62
Asin²+cos²=1
一个热爱编程、热爱生活的奋斗青年。满腔热血代码出~~
展开
-
Certbot配置Let‘s Encrypt的https_ssl证书以及过程中出现的问题
还是在迁移服务器项目遇到的问题,之前都是用的Let's Encrypt申请的免费证书,但是用命令在服务器上执行时,居然报错了[root@j certbot]# ./letsencrypt-autoSkipping bootstrap because certbot-auto is deprecated on this system.Upgrading certbot-auto 1.12.0 to 1.13.0...Replacing certbot-auto...Your system is原创 2022-04-08 16:37:07 · 5742 阅读 · 0 评论 -
Whoops, GitLab is taking too much time to respond.解决
Whoops, GitLab is taking too much time to respond.解决网上的解决方案五花八门,都试了不行自己的方法如下gitlab-ctl tail 查看error.log1.如报connect() to unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket failed是因为nginx的user是gitlab-www ,socket是git,所以通过gpasswd -a gitlab-www git.原创 2021-08-17 15:35:05 · 2849 阅读 · 0 评论 -
Nginx配置https免费证书
yum install certbothttps取代http是大势所趋,https的好处本文不在赘述,很多公司和机构都在推进这一进程,Apple公司甚至规定,iOS上的App应用必须使用https。因此,正是受到Apple的限制,我们的站点,几乎是所有的站点,接近上百个,都支持了https。如何获取SSL证书?自签名证书我们可以自己为自己颁发SSL证书,这样的证书满足为http加密的要求,但这样的证书缺少权威性,不会被浏览器所承认。在客户端完全可控的情况下,例如没有经过浏览器,或者使用其他的框架原创 2020-10-31 09:33:52 · 1288 阅读 · 0 评论 -
linux下安装nginx,亲测生效
在安装nginx前首先要确认系统中安装了gcc、pcre-devel、zlib-devel、openssl-devel。Linux下检查是否安装过某软件包:http://www.cnblogs.com/xxoome/p/5866553.html安装命令:yum -y install gcc pcre-devel zlib-devel openssl openssl-develnginx下载地址:https://nginx.org/download/下载“nginx-1.9.9.tar.原创 2020-08-13 14:25:18 · 372 阅读 · 0 评论