Skip to content

Instantly share code, notes, and snippets.

@JeremyVV
JeremyVV / Vagrantfile
Created May 13, 2019 20:06 — forked from lucasjellema/Vagrantfile
Vagrantfile for creating and running an Ubuntu VM with large disk, preconfigured IP address, provisioned Docker and Docker Compose
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
@JeremyVV
JeremyVV / nginx.conf
Created January 10, 2019 17:46 — forked from toomasr/nginx.conf
nginx configuration for the Wordpress blog post
upstream servers-frontend {
ip_hash;
server 10.10.137.100:80; # server-1
server 10.10.126.101:80; # server-2
}
upstream server-2 {
server 10.10.137.101:80;
}