- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096 openssl req -new -x509 -days 365 -key ca.key -out ca.crt
landrush is an excellent Vagrant plugin if you are trying to develop or test in a multi-machine VM environment. It works by spinning up a small local DNS server and registering the private network IPs of each machine during
vagrant up so that they can be accessed via their hostname in both the host machine as well as the other guest machines. A great bonus of using landrush is that the VMs can be defined in separate Vagrantfiles (e.g. if you have separate git repos for building different machines).
vagrant landrush status- show whether the DNS server
|# Change YOUR_TOKEN to your prerender token and uncomment that line if you want to cache urls and view crawl stats|
|# Change example.com (server_name) to your website url|
|# Change /path/to/your/root to the correct value|
|# RNB, A VIM COLORSCHEME TEMPLATE|
|# Author: Romain Lafourcade (https://github.com/romainl)|
|# Canonical URL: https://gist.github.com/romainl/5cd2f4ec222805f49eca|
|# This template is designed to help vimmers create their own colorschemes|
|# without much effort.|
|# You will need Ruby to generate your colorscheme but Ruby knowledge is|
|# not needed at all.|
We run multiple server processes in two data centers. Each process listens on two ports, one for HTTP and one for HTTPS. HTTPS is terminated by Apache prior to reaching node.js. HTTP goes directly from the client to node.js (through a master load balancer). We do not use clusters. We slice our physical servers into thin virtual machines running SmartOS, each with about 3GB of memory designed for a single node.js process.
Our node.js servers are hapi.js servers using the composer functionality and plugins architecture. We have three sets of plugins loaded: mobile web front end experience (single page app), legacy API reverse proxy, and monitoring.
We also serve original node.js services off another server zone which runs closed source plugins using hapi.