summaryrefslogtreecommitdiffstats
path: root/modules/private/internal.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/internal.go')
-rw-r--r--modules/private/internal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/private/internal.go b/modules/private/internal.go
index 0a39ca7b8e..a77a990627 100644
--- a/modules/private/internal.go
+++ b/modules/private/internal.go
@@ -46,7 +46,7 @@ func newInternalRequest(ctx context.Context, url, method string) *httplib.Reques
InsecureSkipVerify: true,
ServerName: setting.Domain,
})
- if setting.Protocol == setting.UnixSocket {
+ if setting.Protocol == setting.HTTPUnix {
req.SetTransport(&http.Transport{
DialContext: func(ctx context.Context, _, _ string) (net.Conn, error) {
var d net.Dialer