From 41a30196d79a5bf243e2b7389ef08e77aa466bcb Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 31 Jan 2015 17:27:55 -0800 Subject: [PATCH] fix config --- config.moon | 2 +- nginx.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config.moon b/config.moon index 1f0aa73..9e8036f 100644 --- a/config.moon +++ b/config.moon @@ -3,4 +3,4 @@ config "development", -> port 8080 config "docker", -> - port 5000 + port os.getenv "PORT" diff --git a/nginx.conf b/nginx.conf index 9e88115..817e3c1 100644 --- a/nginx.conf +++ b/nginx.conf @@ -2,6 +2,8 @@ worker_processes ${{NUM_WORKERS}}; error_log stderr notice; daemon off; +env PORT; + events { worker_connections 1024; }