首页|通过云服务器链接HTTPS域名与本地服务器的研究

通过云服务器链接HTTPS域名与本地服务器的研究

扫码查看
通常情况下,本地架设的服务器搭配公网IP,申请一个域名关联至此IP的443号端口并配置反向代理,即可使用HTTPS安全域名访问服务器内容,完成数据传输.但实际开发中,使用的服务器可能搭建在企业局域网中,多服务器共用一个公网IP,此时出于安全考虑,443端口无法单独开放给某个服务器使用,直接在服务器上配置HTTPS就行不通了.研究通过在云服务器上使用Nginx反向代理的方式,通过HTTPS域名访问云服务器,再通过反向代理指向本地服务器的公网IP与对应端口,从而解决域名与本地服务器的通信问题.
Research On Linking HTTPS Domain Name with Local Server through Cloud Server
Normally,a local server is configured with a public IP address,a domain name is applied for and associ-ated with port 443 of this IP address,and a reverse proxy is configured. In this way,the HTTPS secure domain name can be used to access the server content and complete data transmission. However,in actual development,the serv-er used may be built on the enterprise LAN,and multiple servers share the same public IP address. In this case,port 443 cannot be opened to a server for security reasons. Therefore,configuring HTTPS on the server does not work. Ng-inx reverse proxy is used on the cloud server to access the cloud server through HTTPS domain name,and then the reverse proxy points to the public IP address and corresponding port of the local server,so as to solve the communi-cation problem between the domain name and the local server.

cloud serverhypertext transfer protocal securewechat mini programNginxlocal server

杨杰、李庆杰、唐锦

展开 >

福建省产品质量检验研究院,福建福州350002

云服务器 超文本传输安全协议 微信小程序 Nginx 本地服务器

2024

电子质量
中国电子质量管理协会 信产部五所

电子质量

影响因子:0.146
ISSN:1003-0107
年,卷(期):2024.(6)
  • 7