parent
6733ccd4b8
commit
4c3a508b84
|
|
@ -95,7 +95,8 @@ func (s *Server) phpProxy(w http.ResponseWriter, r *http.Request) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||||
} else {
|
} else {
|
||||||
log.Println("proxying", url.String(), r.URL.Path)
|
log.Println("WOULD proxy", url.String(), r.URL.Path)
|
||||||
|
s.index(w, r)
|
||||||
//proxy := httputil.NewSingleHostReverseProxy(url)
|
//proxy := httputil.NewSingleHostReverseProxy(url)
|
||||||
//proxy.ServeHTTP(w, r)
|
//proxy.ServeHTTP(w, r)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue