summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-11-16 16:03:14 +0100
committerAndreas Maunz <andreas@maunz.de>2011-11-16 16:03:14 +0100
commit18880d3774f9f93cba7341f93498ca33fdabc169 (patch)
tree90abcd472480ea07a670c224123608f3d03818a7
parent80115dd66a89823fac1dac4690a6c8e87b530a2b (diff)
Fixed PORT to NGINX_PORT
-rw-r--r--nginx.conf12
1 files 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;