0
votes
1answer
412 views

“768 worker_connections are not enough” error after a fresh installation of nginx and ROR

I have a fresh installation of nginx and ruby on rails. But it gives me a '500 Internal Server Error' while testing. The error.log for my app has the following: 2014/05/01 17:27:15 [alert] 1423#0: ...
0
votes
0answers
69 views

Can't connect to Rails app after restarting Thin server

I have a rails app which works fine on localhost and used to work fine on my vps but after restarting the Thin server I got the same message on all browsers that they couldn't connect to the server. ...
0
votes
1answer
191 views

Blocking/redirecting port 3000 with Nginx and Ruby On Rails (thin server)

I am setting up a server now that uses Ruby on Rails with the Thin server. I have set up Nginx to redirect all of my http://mysite.com to https://mysite.com(with ssl). I want all network traffic to ...
0
votes
0answers
41 views

How to config apache location to proxy multiple thin instances?

We have a typical Apache web server serving a blog and some static web pages: http://www.example.com Recently, we added some API built by Rails such that our mobile app can access announcements via ...
1
vote
1answer
308 views

Nginx proxying websockets, connections not closed

I'm confused about where the problem is located, but basically I have nginx proxying websocket connections to a backend ruby thin server, which services the connections with the websocket-rails module ...
0
votes
1answer
196 views

Proxy port 80 to 443 with Netcat/nc

I have a Windows server running a Rails application via the Thin ruby gem web server through Cygwin 32 bit. The server only listens on port 443 and uses HTTPS because it is using LDAP authentication ...
0
votes
1answer
131 views

How to configure rewrite rule for nginx over already binded port

My application is found here: http://my.app.com:3000/ My assets are found here: http://my.app.com:3000/dev-assets My application references assets here: http://my.app.com:3000/assets I'm using a ...
0
votes
1answer
284 views

error 503: Can't deploy rails 3 app with apache + thin (bitnamy ruby stack)

As you'll notice, I'm a bit of a noob on Rails. Here's the thing I have a EC2 Bitnami RubyStack AMI running. I'm trying to deploy the sample project to be sure I'm doing the right thing, but I'm not ...
-1
votes
2answers
637 views

How to restart RoR services after server has been rebooted

Update I have been searching around to see what services would possibly need to be restarted in my project after reboot. One of them was thinking sphinx, which I finally got to the point where it ...
1
vote
2answers
226 views

Monit and Thin and Unfound Gems

I've been using Monit to monitor my Thin server and everything was working until I upgraded my Rails version from 2.3.4 to 2.3.14. Now when I try and start Thin using monit it gives me an unfound gem ...
0
votes
1answer
181 views

Stealing the thin ruby web server port to the world

I'm using a thin web server for my production ruby-on-rails app. I have a lighttpd frot-end for a 3 servers cluster. Everything is ok, but all three servers are accessible from the outside world. ...
2
votes
1answer
848 views

Configuring Nginx, Thin and Rails. Can access static pages but not dynamic

I have set up nginx (nginx.conf below) and thin. Both nginx and thin (2 servers) are running (I have checked they are running). I can access a static page in the rails public directory such as ...
0
votes
1answer
368 views

What do these Thin cache log entries mean?

I recently released a Rails 3.1 upgrade of my webapp. I power this app on an Unbuntu 10.04 VPS with Thin on the backend, Nginx on the front. To make my app work with the new Rails asset pipeline I ...
5
votes
2answers
992 views

How to decide the optimal number of ruby thin/mongrel instances for a server, number of cores?

We are trying to deploy mongrel instances on a machine. What is the optimal number of mongrel instances for a server? Since an instance can handle concurrent connections, I do not see any benefit in ...