You need to add to the Node.js app the code to redirect the request to the HTTPS version if the request comes from HTTP.
Depending on the framework or the tools you use, the idea is simple:
- check the request scheme
- if http, redirect to https passing along the same request uri and query
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…