nginx
Bill-for-study
相互交流不断进步
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Centos 安装Nginx
1.先安装相关依赖 yum install gcc-c++ yum install pcre pcre-devel yum install zlib zlib-devel yum install openssl openssl--devel 2.安装 安装之前,最好检查一下是否已经安装有nginx find -name nginx 如果系统已经安装了nginx,那...原创 2018-09-05 14:30:28 · 394 阅读 · 0 评论 -
Godaddy ssl证书配置到nginx
打开终端,输入以下命令 openssl req -new -newkey rsa:2048 -nodes -keyout domain.key -out domain.csr 生成过程会询问几个常见问题,比如City、Country等等。 最后会询问challenge password,输入的时候记住就可以了。 执行完以上命令后,当前目录会多出“domain.key”和“domain.c...原创 2018-09-05 14:44:04 · 3954 阅读 · 0 评论 -
Nginx如何配置动静分离
#user nobody; worker_processes 2; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1...原创 2018-09-05 14:49:09 · 456 阅读 · 0 评论
分享