Thin is an EventMachine-based web server written in Ruby for running Rack-based web apps.

learn more… | top users | synonyms

2
votes
3answers
758 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 ...
-1
votes
2answers
1k 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 logs:...
2
votes
1answer
203 views

vmware thin disk usage powercli

I want to ask a question about thin provisioning. get-vm commandlet can easly give us real space used by a vm totally. Assume that you have a virtual machine which has more than one thin disk. If ...
1
vote
1answer
739 views

SSL connection to Thin through vagrant

I'm running a Rails app that forces SSL and uses HTTP basic authentication inside of a vagrant VM. If I try to make a curl request to the app from my host machine I get curl -k --verbose https://[...
1
vote
1answer
829 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
61 views

error running nginx with thin

I am trying to install redmine on my Ubuntu 14.04 machine. I already have an nginx 1.8.1 server running so I need to use it with that. I have followed a bunch of tutorials on how to do it as I have ...
0
votes
1answer
254 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
232 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
187 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 ...
0
votes
1answer
450 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
votes
1answer
277 views

After few days of server running fine with nginx it start throwing 499 and 502

Nginx start throwing 499 and 502 after running fine for few days, website is a rails app using thin as the webserver. Restarting the Nginx doent not seem to help. Below the the Nginx config Nginx ...
2
votes
0answers
325 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 ...
1
vote
0answers
151 views

Get Thin server to restart while picking up changes in newly deployed directory

After deploying using capistrano where I have a deploy task that is restarting the thin server, the changes that were just deployed are not getting picked up by the thin server. Even if I manually ...
0
votes
0answers
24 views

How do I investigate latency between my app server and web server?

I have a Rails application running on Thin behind an Nginx instance. When I first start the application, requests are served in a reasonable time but after a few (identical) requests, this suddenly ...
0
votes
0answers
17 views

thin served content inaccessible from certain connections

I have a simple website being served up by the thin web server, on a machine running OSX mavericks. I'm able to access the served content on any machine that I try (both local and non-local ...