nginx and thin installation and configuration

Install nginx server using following command apt-get install nginxEdit nginx configuration and add server block inside html block. server {    listen       80;    server_name  boost;     root /home/sandip/rails_app/public;     location / {        proxy_set_header  X-Real-IP  $remote_addr;        proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;        proxy_set_header Host $http_host;        proxy_redirect off;       Continue reading “nginx and thin installation and configuration”

Capistrano + Nginx + Thin deployment on Linode

This was long lost post I had written about 8 months ago (converted from wiki to HTML – so pardon typos if any) Terminologies Capistrano is a ruby gem which helps in remote deployment. As against widely known convention, Capistrano can be used for any deployment, not just a rails app! Nginx is a web-proxyContinue reading “Capistrano + Nginx + Thin deployment on Linode”