code: func proxyWhitelisted(r *http.Request) bool {
  	for _, url := range []string{"/raft/promote", "/raft/demote", "/shutdown"} {
  		if strings.HasPrefix(r.URL.Path, url) {
  			return true
  		}
  	}
  	return false
  }
docs: // Whitelisted endpoints won't be proxied.