From aab75716ed7cfdfd6da1ab71cfa4b72da960e23d Mon Sep 17 00:00:00 2001 From: Rob Cameron Date: Tue, 7 Apr 2015 17:04:54 -0700 Subject: [PATCH] cleanup --- Makefile | 1 + proctor/Vagrantfile | 2 +- proctor/ansible/playbooks/files/reggie_default | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2afc9b7 --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +MARKDOWN = pandoc --from markdown_github --to pdf diff --git a/proctor/Vagrantfile b/proctor/Vagrantfile index fff5a3a..8909957 100644 --- a/proctor/Vagrantfile +++ b/proctor/Vagrantfile @@ -17,7 +17,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| netmask: "255.255.252.0", ip: "10.10.0.10" ndo.vm.synced_folder "../", "/vagrant", disabled: false - config.ssh.password = "vagrant" + ndo.ssh.password = "vagrant" ndo.vm.provider "virtualbox" do |v| end diff --git a/proctor/ansible/playbooks/files/reggie_default b/proctor/ansible/playbooks/files/reggie_default index 065a06e..96c1a9b 100644 --- a/proctor/ansible/playbooks/files/reggie_default +++ b/proctor/ansible/playbooks/files/reggie_default @@ -30,5 +30,6 @@ server { location / { proxy_pass http://127.0.0.1:5000; + proxy_set_header X-Real-IP $remote_addr; } }