08 2020 档案
摘要:1、安装基础支持包 yum -y install openssl openssl-devel 2、下载nginx源码包,并解压 ./configure --with-http_ssl_module make make install 3、配置 server { listen 443 ssl; # 域
阅读全文
摘要:反向代理http配置 server { listen 80; server_name xxx.xxx.xxx; location / { proxy_pass http://127.0.0.1:8080; } } 反向代理websocket配置 nginx.conf 的http段内增加如下代码: m
阅读全文
摘要:var http = require('http') var serveIndex = require('serve-index'); var express = require('express'); var app = express(); app.use(express.static('./'
阅读全文
摘要:在警告页面直接输入thisisunsafe即可
阅读全文