We're running Node.js/express.js on Azure WebApp with SSL binding.
It seems like the req.protocol
always returns http
.
Is there a way to get the original protocol, i.e. http/https
according to the original request?
We're running Node.js/express.js on Azure WebApp with SSL binding.
It seems like the req.protocol
always returns http
.
Is there a way to get the original protocol, i.e. http/https
according to the original request?