I have a simple application that I run using node.js. Below is my server.js:
var myApp = require('./lib/myapp')
new myApp({
port: 8000
});
I can access the application at http://myserver.com:8000
I would like to set it up, so I can access it using https://myserver.com
I have tried various methods answered in questions asked here, but I am unable to get it working. I think the way application is being initialized is the reason, but I am not sure about that.
I know I can put it behind Apache, but I would like to do it using node.
If anyone can modify this server.js for me, that would be a great help!
Thanks
Noman A.