parent
6733ccd4b8
commit
4c3a508b84
|
|
@ -95,7 +95,8 @@ func (s *Server) phpProxy(w http.ResponseWriter, r *http.Request) {
|
|||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
} 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.ServeHTTP(w, r)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue