The official document of the WeChat applet reads:
The request is https, and the port cannot be included
1. How to make express connect directly without listening to the port?
2. Does the link established by the WeChat applet have to be https? How to get https?
1. nginx listens to the local express port 3000;
2. Alibaba Cloud can apply for a free https certificate
You can refer to my conf configuration file that has been posted. The listening port 3000 and certificate preparation are all modified in this file
The following is the address for Alibaba Cloud to apply for a free certificate
https://common-buy.aliyun.com...
Alibaba Cloud also has specific examples of configuring HTTPS