made some changes to the nginx configuration for jruby