Permalink
Browse files

Add header

  • Loading branch information...
rosylilly committed Oct 22, 2017
1 parent 9288047 commit 618d971cdef2774056f989519e22b1ebe8ef7f01
Showing with 1 addition and 0 deletions.
  1. +1 −0 isubata/proxy/src/isuroxy/server.go
@@ -38,6 +38,7 @@ func (s *Server) Director(request *http.Request) {
s.Wait()
request.URL.Scheme = "http"
request.URL.Host = s.Backend
request.Header.Set("X-Awesome-Proxy", "1")
}
func (s *Server) initRedis() {

0 comments on commit 618d971

Please sign in to comment.