package main

// This is a very very basic reverse proxy
// targeting Nginx (localhost:8085)
// and listening on port 9090
//
// The splitting issue will only happen with go version < 1.4.3 or < 1.5

import (
        "net/http"
        "net/http/httputil"
        "net/url"
)
 
func main() {
        proxy := httputil.NewSingleHostReverseProxy(&url.URL{
                Scheme: "http",
                Host:   "localhost:8085",
        })
        http.ListenAndServe(":9090", proxy)
}

