Install nginx server using following commandapt-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; if (-f $request_filename/index.html) { … Continue reading nginx and thin installation and configuration
Category: Ruby on Rails
ruby on rails installation on fresh ubuntu machine
Ruby On Rails Installation on fresh ubuntu machineInstallation steps are applicable to ubuntu versions interpid, karmic koala.Make necessary changes according to package manager provided by other linux operating systems in order install ruby and rails.Before getting started to installations make sure to build essential packageson fresh ubutnu machine. Ubuntu machine has built in apt-get package … Continue reading ruby on rails installation on fresh ubuntu machine
Download Rails API to work offline
Command to download/copy rails api to work locally(offline) mode.wget -mk http://www.api.rubyonrails.orgFor more information click
