![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
ZyhMemory
这个作者很懒,什么都没留下…
展开
-
Nginx的SSL配置 HTTPS
下载SSL证书后,存放nginx的conf目录下,修改nginx配置文件(如何配置来自阿里云文档) [root@test ~]# /usr/local/nginx/conf/nginx.conf # HTTPS server server { listen 443; server_name localhost; ssl on; ssl_certificate cert.pem; ssl_certificate_key cert.key; ssl_session_timeout 5原创 2020-06-11 20:01:11 · 431 阅读 · 0 评论 -
nginx配置文件 常用配置
#user nobody; #定义nginx的进程数 worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #nginx的进程文件 pid logs/nginx.pid; worker_rl...原创 2020-04-15 08:51:14 · 362 阅读 · 0 评论 -
nginx 服务搭建
nginx 服务搭建下载并安装配置配置端口号、IP、项目目录、默认文件启动重启问题 下载并安装 下载地址 [root@root ~]# wget http://nginx.org/download/nginx-1.9.9.tar.gz [root@root ~]# tar -zxvf nginx-1.9.9.tar.gz [root@root ~]# cd nginx-1.9.9 [root@ro...原创 2020-04-15 08:50:03 · 246 阅读 · 0 评论