Skip to content

Instantly share code, notes, and snippets.

View stran12's full-sized avatar

Stephen Tran stran12

View GitHub Profile
@stran12
stran12 / gist:1394757
Created November 26, 2011 00:43
Step-by-step installation of cGit with Nginx

How to install cGit on Nginx (Ubuntu server)

Step-by-step installtion of cGit on nginx without funky rewrite rules.

Pre-requisites

This is for :

package main
import (
"fmt"
"net/http"
"log"
"io/ioutil"
"encoding/json"
"strconv"
)