Skip to content

Instantly share code, notes, and snippets.

View andela-pessien's full-sized avatar

Princess-Jewel Essien andela-pessien

View GitHub Profile
@andela-pessien
andela-pessien / nginx_setup.sh
Last active November 7, 2017 09:32
A Bash script that builds nginx from source
#!/bin/bash
# This script builds the popular nginx server (https://nginx.org) on *nix systems with
# thread pool support and the following modules:
#
# ngx_http_ssl_module (https://nginx.org/en/docs/http/ngx_http_ssl_module.html)
# ngx_http_v2_module (https://nginx.org/en/docs/http/ngx_http_v2_module.html)
# ngx_http_mp4_module (https://nginx.org/en/docs/http/ngx_http_mp4_module.html)
# ngx_http_gzip_static_module (https://nginx.org/en/docs/http/ngx_http_gzip_static_module.html)
# ngx_http_gunzip_module (https://nginx.org/en/docs/http/ngx_http_gunzip_module.html)