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:
parent
30dc7be08e
commit
26d1574702
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user