Skip to content

Instantly share code, notes, and snippets.

View kldavis4's full-sized avatar

Kelly Davis kldavis4

View GitHub Profile
@kldavis4
kldavis4 / README.markdown
Last active August 29, 2015 14:19 — forked from karmi/.gitignore
Example Nginx Configurations for Elasticsearch

Example Nginx Configurations for Elasticsearch

This repository contains couple of example configurations for using Nginx as a proxy for Elasticsearch.

These examples can be run standalone from this repository -- the general pattern is:

$ nginx -p $PWD/nginx/ -c $PWD/<CONFIG FILE>

When you change the configuration, simply reload the Nginx process to pick up the changes:

@kldavis4
kldavis4 / doit
Created August 28, 2014 18:53 — forked from stantonk/doit
#!/bin/bash
# Source: http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/
yum groupinstall "Development tools"
yum install zlib-devel
yum install bzip2-devel openssl-devel ncurses-devel
wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2
tar xf Python-2.7.3.tar.bz2
cd Python-2.7.3