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