Fix Unix socket backend config

This commit is contained in:
minus 2020-11-06 16:34:07 +01:00 committed by Simon Ser
parent 30dc7be08e
commit 26d1574702
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ func parseBackend(backend *Backend, d *scfg.Directive) error {
backend.Address = u.Host
case "unix":
backend.Network = "unix"
backend.Address = u.Host
backend.Address = u.Path
default:
return fmt.Errorf("failed to setup backend %q: unsupported URI scheme", backendURI)
}