Thin is an EventMachine-based web server written in Ruby for running Rack-based web apps.
0
votes
0answers
19 views
“Thin” Rails Server - Automatically Startup
I am looking for some ideas on how to start up my "Thin" Rails server automatically, whenever the machine where it resides reboots.
The problem is that when the machine reboots, "Thin" needs to be ...
0
votes
1answer
27 views
Rails 3 with Thin Server - Removing Port 3000 from URL
I have a small Rails app currently being served (dev and production) by Thin server on port 3000, on a Debian box that also has apache2 running, serving PHP applications.
I am not certain if this is ...
1
vote
1answer
145 views
Running thin server as a init.d script on CentOS 6.3
I followed the Slicehost tutorial here and was able to get thin installed in init.d to be able to start at boot.
I also created the required configuration file. When running thin from the command ...
1
vote
0answers
85 views
When restarting thin via Capistrano changes aren't picked up
In my deploy.rb I have the following tasks:
namespace :deploy do
task :start, :roles => :app do
run "cd #{current_path} && bundle exec thin start -C config/thin.yml"
end
...
0
votes
2answers
212 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 ...
0
votes
1answer
180 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 ...
0
votes
0answers
97 views
I need apache to proxy websocket messages to Thin
I am developing a Rails application that make use of websockets. In my development environment everything was working and all browsers were able to handle data pushed from my Thin Rails server.
...
-1
votes
2answers
308 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
0answers
74 views
Thin configuration doesn't start on boot, but they do on manual start [closed]
I have some thin config files (generated with sudo thin install) which are slightly modified (only paths where they're located).
I can start them just fine with /etc/init.d/thin start, but if the ...
0
votes
2answers
2k views
Thin server : `start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError)
My thin webserver fails to start with an error message.
I can hardly find any information or leads on how to fix this, anyone an idea? thx
Thin web server (v1.5.0 codename Knife)
Maximum ...
0
votes
0answers
132 views
Thin web server - single or multiple instances per IP address:port?
I'm deploying a rack/sinatra/web socket app onto several servers and will use thin as the web server (http://code.macournoyer.com/thin/). There are almost no views to show, so I am not front-ending it ...
0
votes
1answer
324 views
on localhost forward proxy webrick,thin, unicorn to external host.com/http-bind
Im working on an rails project where I need a /http-bind proxy and unable to find anything about this, or find a resource to state this is possible.
I need this forward in a development environment ...
0
votes
0answers
112 views
Bluepill recipe needed to monitor thin
I created the following Bluepill recipe to monitor my thin instances which will run behind nginx as the web server:
Bluepill.application("myapp") do |app|
app.working_dir = "/var/www/myapp/current"
...
1
vote
2answers
143 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
145 views
nginx config for secure assets serving
I have a web app that has static content and can serve dynamic pages and secure content.
Static content lies in /public folder and should be served directly by nginx.
Dynamic content is served by ...
1
vote
0answers
70 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 ...
0
votes
0answers
143 views
Run Thin server on port 80
I'm trying to get thin to run on port 80 with this command:
rvmsudo thin start -R server.ru -p 80
it runs just fine if I connect to the server from a machine on the local network, but not from an ...
0
votes
1answer
147 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.
...
0
votes
1answer
117 views
Easy way to launch several rails apps on the server
I have several rails applications on my server. Each application uses its own rvm gemset. I'm using Thin as web server for each application, this servers installs as a gem separately for each ...
1
vote
1answer
514 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
724 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: ...
0
votes
3answers
374 views
How can I run my Thin server as a different user on Ubuntu?
I run an Ubuntu 10.04 VPS which hosts 2 Thin processes running Ruby On Rails behind Nginx. I control the Thin processes via a /etc/init.d startup script as a regular user. In my Thin config file I ...
1
vote
1answer
843 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 ...
2
votes
2answers
917 views
Puppet agent to puppet master (running on nginx/ruby1.9) SSL certificate issues
I have two machines, puppet master--host name puppet--and a lone client, host name git. The puppet agent on the master machine works without issue. The agent on git fails with a '400 No required SSL ...
0
votes
1answer
624 views
Why does this nginx/thin run puppet master interpret paths differently than a lone puppetmasterd?
For the purposes of this question I need to make a distinction between my
Production puppet master and my Development puppet master. In either
case, my /etc/puppet/puppet.conf is:
[main]
...
0
votes
1answer
305 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 ...
1
vote
3answers
749 views
Running Thin behind Apache2
Currently my Ubuntu server runs RubyOnRails applications with Apache2 + Passenger.
Now I need to deploy a Sinatra (Plain Ruby app) which needs to run on Thin instead of Passenger.
I'm familiar with ...
0
votes
1answer
171 views
thin server with GoDaddy ssl - access from osx
I have a thin server that i run with a certificate from GoDaddy and a private key i created before. I also have a file "gd_bundle.crt" that's probably required for access from osx (or iphones).
thin ...
0
votes
1answer
588 views
nginx - reverse proxy, multiple thin instances, cache
I'm using nginx to serve a sinatra based project which has fairly static content..
I've tried to combine this: http://articles.slicehost.com/2008/5/27/ubuntu-hardy-nginx-rails-and-thin
with the ...
0
votes
0answers
461 views
Nginx, thin running redmine on 2 different subdomains
I have a strange problem with nginx, since the redmine application runs fine on redmine.nextrus.info, bit i also have redmine.nextrus.nl.
The problem is, when i hit redmine.nextrus.nl the app loads ...
1
vote
1answer
912 views
Where I can find the log files of thin webserver
I'm using thin web server for my sinatra application. Some times it generate 504 gateway time out.
Where I can see the access and error logs of thin?
1
vote
2answers
278 views
How can I fix Sinatra redirects switching from https to http under nginx?
I have a Sinatra app running in nginx (using thin as a back-proxy) and I'm using redirect '/<path>' statements in Sinatra. However, when I access the site under https, those redirects send me to ...
2
votes
1answer
356 views
Apache and thin, wrong protocol
Hello I have the following apache configuration, which is supposed to drive all traffic on port 433 to some balancer that uses a little server called Thin.
<VirtualHost *:443>
ServerAdmin ...
1
vote
1answer
321 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 ...
4
votes
2answers
772 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 ...
1
vote
1answer
1k views
Elastic Load Balancer & SSL termination
I am setting up a Rails app on AWS that:
1) all traffic must be ssl encrypted
2) will highly fluctuate in the amount of traffic on a weekly basis
3) will by maintained by someone that is a stronger ...
2
votes
1answer
1k views
How to setup nginx + thin + multiple domains + multiple virtual hosts?
I have a VPS. I create websites with Rails. I have several domains.
Now I want to install nginx + thin, and configure them to support multiple hosts, let each host have a seperated domain.
I have ...