让内部网站可以外网访问
原理就是通过http请求
看示例 请求本地 内部在去请求对应的接口把文件下载下来在返回就可以了
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"host": "http://localhost:9098", //内部用端口 外部用反向代理就可以了 转发到这个内部端口
"proxyhost": "https://fanyi.baidu.com", //代理的host
"AllowedHosts": "*"
}
其他还有待优化 代码就先不提供了
绕开哪些君子协议🐕