1
1
mirror of https://git.sr.ht/~emersion/tlstunnel synced 2024-11-19 15:53:50 +01:00

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

@ -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)
}