Using AWS CloudFront as your Content Delivery Network

To speed up content delivery and improve page loading time.

Article AWS CloudFront Optimization Rails

Setting up Sendy with Nginx

An alternative to Apache as taught in Sendy's Get Start.

Guide Sendy Nginx Setup

Using microdata schema to structure your web content

Search Engine and Crawler recognise the structure of your web content by reading the embedded microdata.

Article SEO Microdata Google

Log rotation and maintenance in Ubuntu

You do not want to keep all your logs in just 1 file and let it grows forever.

Guide Logging Maintenance Ubuntu

Setup rabbitmq service on Ubuntu

RabbitMQ is a message broker to manage your message's livecycle.

Guide RabbitMQ Setup Ubuntu

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