node.jsamazon-ec2deployd

How to run "Deployd" on port 80 instead of port 5000 in webserver.


Im running a website with "deployd" and I having issues to change my applicaiton of running on port 5000 to port 80. What I want to do is instead of having "mydomain.com:5000", I just want to have "mydomain.com"

Thank you.


Solution

  • According to these docs of the internal API: http://docs.deployd.com/docs/developing-modules/internal-api/server.html

    You can pass in an options object when creating the server. So something like this should work

    var deployd = require('deployd'),
        options = {
          port : 80
        },
        server = deployd(options);