From 18880d3774f9f93cba7341f93498ca33fdabc169 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Wed, 16 Nov 2011 16:03:14 +0100 Subject: Fixed PORT to NGINX_PORT --- nginx.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nginx.conf b/nginx.conf index 0ff4dec..9f87adf 100644 --- a/nginx.conf +++ b/nginx.conf @@ -8,14 +8,14 @@ http { server_names_hash_bucket_size 256; - passenger_root /home/am/opentox-ruby/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/passenger-3.0.9; - passenger_ruby /home/am/opentox-ruby/ruby-enterprise-1.8.7-2011.03/bin/ruby; - passenger_default_user am; + passenger_root RUBY_DEST/lib/ruby/gems/1.8/gems/PASSENGER; + passenger_ruby RUBY_DEST/bin/ruby; + passenger_default_user USER; passenger_log_level 2; passenger_spawn_method conservative; #passenger_use_global_queue on; - include /home/am/opentox-ruby/nginx/conf/mime.types; + include NGINX_DEST/conf/mime.types; default_type application/octet-stream; sendfile on; @@ -25,9 +25,9 @@ http { server { listen NGINX_PORT; client_max_body_size 5000m; - server_name z21mn; + server_name SERVERNAME; location / { - root /home/am/opentox-ruby/www; + root WWW_DEST; passenger_enabled on; } passenger_base_uri /compound; -- cgit v1.2.3