# **********************HTTP反向代理参考*********************************
server {
listen 80;
proxy_hide_header X-Powered-By;
proxy_hide_header X-AspNet-Version;
location / {
proxy_pass http://192.168.1.100:80; # 填写实际的星空服务器地址
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
# **********************HTTPS反向代理参考********************************
server {
listen 443 ssl http2;
server_name *.test.cn;
ssl_certificate "/etc/nginx/ssl/test.cn.cer";
ssl_certificate_key "/etc/nginx/ssl/test.cn.key";
ssl_stapling on;
ssl_stapling_verify on;
ssl_session_timeout 10m;
ssl_session_cache shared:SSL:1m;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!RSA:!MD5;
ssl_prefer_server_ciphers on;
以上就是本篇文章【安装部署:私有云通过外网访问金蝶云星空的几种办法】的全部内容了,欢迎阅览 ! 文章地址:http://dfvalve.xrbh.cn/news/1861.html
资讯
企业新闻
行情
企业黄页
同类资讯
首页
网站地图
返回首页 迅博思语资讯移动站 http://keant.xrbh.cn/ , 查看更多