0
votes
0answers
111 views

Tips on reducing 500 Internal Server Errors between Apache & a thin cluster on a separate machine

I'm running a Ruby on Rails web service on multiple machines. The Apache web server is on one virtual machine and the thin application servers are on a second, the Postgres database is on a third. I ...
0
votes
1answer
386 views

Starting command on boot with correct user env vars

I am attempting to create a start-up script that will run this command on boot for my ubuntu 12.04 server: bundle exec thin -R config.ru start -p 3030 When I run it as a regular user it works just ...
0
votes
2answers
506 views

Linux: find thin server running on port 80 and kill it

On my Linux server I ran: sudo thin start -p 80 -d Now I'd like to restart the sever. The trouble is, I can't seem to get the old process to kill it. I tried: netstat -anp But what I see on port ...
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 ...
1
vote
0answers
96 views

Will Apache + Thin + SSE work? [closed]

We use Apache as a proxy in front of all of our applications. Will using Apache in front of Thin as a proxy server work? I am hoping to do a chat type of application like the one delivered with ...
2
votes
1answer
847 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 ...
1
vote
1answer
1k views

Thin configuration file for HTTP and HTTPS

I'm trying to configure both HTTP and HTTPS on thin. I have this configuration file: environment: production address: 0.0.0.0 port: 9292 chdir: /home/[user]/[mySinatraAPP] pid: tmp/thin.pid rackup: ...
1
vote
1answer
1k views

Setting up Thin, Bundler and Ubuntu

I have a very simple Ruby application which uses Thin and Bundler that I need to stick on an Ubuntu box. I've got as far as getting Ruby, bundler etc installed on the server, but am having trouble ...
1
vote
1answer
380 views

Using UNIX sockets with nginx

I would like to clarify some doubts I have about using nginx to proxy requests over a cluster of thin servers (http://code.macournoyer.com/thin/). I've read many blog posts about using UNIX sockets ...