Skip to content

Instantly share code, notes, and snippets.

@s4l1h
Created December 30, 2014 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s4l1h/e4e952990a4df4f6e97f to your computer and use it in GitHub Desktop.
Save s4l1h/e4e952990a4df4f6e97f to your computer and use it in GitHub Desktop.
Nginx + Test Cookie Module installer
export CFLAGS=-Wno-error
cd /root
apt-get -y install build-essential git libpcre++-dev zlibc zlib1g zlib1g-dev libssl-dev
git clone https://github.com/kyprizel/testcookie-nginx-module
wget http://nginx.org/download/nginx-1.6.2.tar.gz
tar -xvf nginx-1.6.2.tar.gz
cd /root/nginx-1.6.2/
./configure --add-module=/root/testcookie-nginx-module
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment