From 6e75a3829adc3fa0743cfbae48ea0c7200ee6f7e Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Tue, 17 Dec 2013 23:25:00 +0100 Subject: [PATCH] The web server listens on port 80 by default. --- config/local.yaml.dist | 2 ++ src/main.coffee | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/local.yaml.dist b/config/local.yaml.dist index 765f69819..500a174c2 100644 --- a/config/local.yaml.dist +++ b/config/local.yaml.dist @@ -4,6 +4,8 @@ http: # Hosts & ports on which to listen. + # + # By default, the server listens on 0.0.0.0:80. listen: # Basic HTTP. - diff --git a/src/main.coffee b/src/main.coffee index 2593a8ba0..7713c2350 100644 --- a/src/main.coffee +++ b/src/main.coffee @@ -95,7 +95,9 @@ do $fiberize -> # Defines defaults configuration. $nconf.defaults { http: { - listen: [] + listen: [ + port: 80 + ] mounts: [] } redis: {