Update nps_extend.md

更新HTTPS文档
This commit is contained in:
CoLee 2021-07-13 17:00:06 +08:00 committed by GitHub
parent c9a4d8285b
commit 5107fdfe6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
**方式一:** 类似于nginx实现https的处理
在配置文件中将https_proxy_port设置为443或者其他你想配置的端口和在web中对应域名编辑中设置对应的证书路径将`https_just_proxy`设置为false然后就和http代理一样了
在配置文件中将https_proxy_port设置为443或者其他你想配置的端口将`https_just_proxy`设置为falsenps 重启后在web管理界面域名新增或修改界面中修改域名证书和密钥。
**此外:** 可以在`nps.conf`中设置一个默认的https配置当遇到未在web中设置https证书的域名解析时将自动使用默认证书另还有一种情况就是对于某些请求的clienthello不携带sni扩展信息nps也将自动使用默认证书