Nginx + Thin config on Windows for Rails app
Edward Stembler
lists at ruby-forum.com
Thu Aug 9 14:07:13 UTC 2012
Thanks, that helps!
I finally got it working. I started Thin on port 8080, and removed the
upstream block while only referencing Thin in a location block
location / {
try_files $uri/index.html $uri.html $uri @mywebapp_thin;
error_page 404 /404.html;
error_page 422 /422.html;
error_page 500 502 503 504 /500.html;
error_page 403 /403.html;
}
location @mywebapp_thin {
proxy_pass http://10.x.x.x:8080;
}
This seems to work. Thanks for explaining things!
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list