问题
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.
回答1:
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);
来源:https://stackoverflow.com/questions/17263545/how-to-run-deployd-on-port-80-instead-of-port-5000-in-webserver