摘要: 1、安装基础支持包 yum -y install openssl openssl-devel 2、下载nginx源码包,并解压 ./configure --with-http_ssl_module make make install 3、配置 server { listen 443 ssl; # 域 阅读全文
posted @ 2020-08-19 13:43 _DC 阅读(1043) 评论(0) 推荐(0)
摘要: 反向代理http配置 server { listen 80; server_name xxx.xxx.xxx; location / { proxy_pass http://127.0.0.1:8080; } } 反向代理websocket配置 nginx.conf 的http段内增加如下代码: m 阅读全文
posted @ 2020-08-19 12:01 _DC 阅读(154) 评论(0) 推荐(0)