Setup Sidekiq on Ubuntu with upstart

Use sidekiq to performance background job

Guide Sidekiq Ubuntu

Hiding server identity and signature for Nginx and Passenger

Usually you do not want to expose what server you are using and its version number.

Snippet Security Nginx Passenger

Setup Nginx and Passenger on Ubuntu

For serving ruby on rails applications

Guide Ubuntu Nginx Passenger Setup

Setting up ruby on rails on Ubuntu

Ruby, Bundler, Rails, and Database

Guide Ruby Rails Setup Ubuntu

Configure rails app to share cookies across sub-domains

For sharing information such as sign-in session or preference

Snippet Cookies Rails

Enabling HSTS in Nginx

HSTS tells the client to use https only on a specific domain

Article SSL Nginx HSTS

Blocking malicious crawler in nginx

To stay safe and reduce unnecessary bandwidth usage

Guide Security Nginx Crawler Blacklist

Using Let's Encrypt as your SSL Cert Authority via Certbot

Certbot is a letsencrypt.org client that works on most linux OS

Guide SSL Nginx Letsencrypt

Using custom DH Param in Nginx

Avoid using nginx default dh param

Guide Security SSL Nginx DH Param