diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-03-30 14:56:53 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-03-30 14:56:53 +0200 |
commit | 12f42b70b451254f2865a379c1bb1d2ab964e9ff (patch) | |
tree | 72da9dc0f3b6d6b67fcc69a092c0bc41e81cc877 /nginx.conf | |
parent | 5ae9365231ce0727d28e589bfc2b9d0aeee6ceaa (diff) |
opentox-ruby
Diffstat (limited to 'nginx.conf')
-rw-r--r-- | nginx.conf | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,3 +1,4 @@ +#user ist; worker_processes 10; events { @@ -7,6 +8,7 @@ events { http { server_names_hash_bucket_size 256; + include /home/ist/nginx/conf/mime.types; passenger_root RUBY_DEST/lib/ruby/gems/1.8/gems/PASSENGER; passenger_ruby RUBY_DEST/bin/ruby; @@ -15,7 +17,7 @@ http { passenger_spawn_method conservative; #passenger_use_global_queue on; - include mime.types; + include NGINX_DEST/mime.types; default_type application/octet-stream; sendfile on; @@ -26,9 +28,10 @@ http { listen 80; client_max_body_size 5000m; server_name SERVERNAME; - root /var/www/; - - passenger_enabled on; + location / { + root WWW_DEST; + passenger_enabled on; + } passenger_base_uri /compound; passenger_base_uri /dataset; passenger_base_uri /algorithm; |