This commit is contained in:
parent
3fa49f3780
commit
f635041c98
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ func decodeJSONError(resp *http.Response) *Response {
|
|||
func newInternalRequest(url, method string) *httplib.Request {
|
||||
req := newRequest(url, method).SetTLSClientConfig(&tls.Config{
|
||||
InsecureSkipVerify: true,
|
||||
ServerName: setting.Domain,
|
||||
})
|
||||
if setting.Protocol == setting.UnixSocket {
|
||||
req.SetTransport(&http.Transport{
|
||||
|
|
Reference in a new issue