Skip to content

Instantly share code, notes, and snippets.

View janurag's full-sized avatar
🏠
Working from home

Anurag Jain janurag

🏠
Working from home
View GitHub Profile
@janurag
janurag / deploy.sh
Created February 11, 2016 05:59 — forked from tokudu/deploy.sh
A simple deployment script for EC2 instances
#!/bin/bash
# Updates all EC2 instances from git
# Author: [email protected]
CODE_LOCATION=/var/www/your_project
SERVER_PREFIX=your_project
# exit if something fails
set -e
@janurag
janurag / nginx.conf
Last active January 12, 2016 07:44 — forked from aregee/nginx.conf
# For more information on configuration, see:
# * Official English Documentation: http://nginx.org/en/docs/
# * Official Russian Documentation: http://nginx.org/ru/docs/
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
#error_log /var/log/nginx/error.log notice;
#error_log /var/log/nginx/error.log info;