nginx - nginx ssl_preload ssh,http,https 设置
问题描述
我看到了结合 HTTPS/SSH 选择基于 SSL 协议版本的上游的示例:
map $ssl_preread_protocol $upstream {
default ssh.example.com:22;
"TLSv1.2" new.example.com:443;
}
# ssh and https on the same port
server {
listen 192.168.0.1:443;
proxy_pass $upstream;
ssl_preread on;
}
但我不知道如何在同一个端口上结合 SSH、HTTPS(TLS) 和 HTTP?这甚至可能吗?
谢谢
解决方案
推荐阅读
- r - 将 R 中的列表拆分为新向量
- yql - yql?q= 使用“store://store-id”,因为 OpenDataTable 不再起作用
- android - Google Playstore“您需要检查您的屏幕截图图像是否为有效图像。”
- asp.net - 带逗号的十进制数字在德国或土耳其语中验证失败
- docusignapi - DocuSign:在页面上放置签名字段的选项
- javascript - JS 多久重启
- javascript - ember.js 列表中的多选复选框
- swift - 如何显着降低 iOS 应用程序中的能源影响?
- css - Codepen 上的 ASCII 艺术并不总是显示下划线
- python - ConnectionPath 隐藏在子图后面