From 4c578f36fded69cfe49fd00f6dea8013a6cba4bd Mon Sep 17 00:00:00 2001 From: ot1 Date: Wed, 16 Nov 2011 10:41:22 +0100 Subject: Fixed PORT in nginx.conf --- config.sh | 3 ++- nginx.conf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.sh b/config.sh index cdc0309..222cd7a 100755 --- a/config.sh +++ b/config.sh @@ -8,6 +8,7 @@ OT_DIST="debian" # Linux distribution (debian) OT_INSTALL="local" # Type (gem, local, server) OT_BRANCH="development" # Maturity (development, master) +# NOTE: For branches other than 'master' you have to have your public SSH key at Github and must be a member of 'opentox-ruby' group. # 2) Where all binaries are installed. OT_PREFIX="$HOME/opentox-ruby" @@ -22,7 +23,7 @@ REDIS_NUM_VER="2.2.2" # 4) Server settings. NGINX_SERVERNAME="toxcreate3.in-silico.ch" WWW_DEST="$OT_PREFIX/www" -PORT="" # set to empty string ("") for port 80 otherwise set to port *using colons* e.g. ":8080" +PORT=":8081" # set to empty string ("") for port 80 otherwise set to port *using colons* e.g. ":8080" # Done. diff --git a/nginx.conf b/nginx.conf index 6ee1662..4dcf81a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -23,7 +23,7 @@ http { # webservices server { - listen 8080; + listen PORT; client_max_body_size 5000m; server_name toxcreate3; location / { -- cgit v1.2.3