summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorot1 <andreas@maunz.de>2011-11-16 10:41:22 +0100
committerot1 <andreas@maunz.de>2011-11-16 10:41:22 +0100
commit4c578f36fded69cfe49fd00f6dea8013a6cba4bd (patch)
tree042d37279181c38e05c81b3c160596427173f624
parent8dd7e636e80f3024ba059d3b1fb46db534436363 (diff)
Fixed PORT in nginx.conf
-rwxr-xr-xconfig.sh3
-rw-r--r--nginx.conf2
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 / {