Skip to content

Commit

Permalink
Update template.go
Browse files Browse the repository at this point in the history
Signed-off-by: Williams Alejandro <[email protected]>
  • Loading branch information
walejandromt committed Feb 13, 2024
1 parent 5457d78 commit 15aa058
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/client/utils/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ webServer.password = {{ .Common.AdminPassword }}
name = {{ $upstream.TCP.Name }}
type = {{ $upstream.TCP.Type }}
subdomain = {{ $upstream.TCP.SubDomain }}
local_ip = {{ $upstream.TCP.Host }}
local_port = {{ $upstream.TCP.Port }}
remote_port = {{ $upstream.TCP.ServerPort }}
localIP = {{ $upstream.TCP.Host }}
localPort = {{ $upstream.TCP.Port }}
remotePort = {{ $upstream.TCP.ServerPort }}
{{ if $upstream.TCP.ProxyProtocol }}
proxy_protocol_version = {{ $upstream.TCP.ProxyProtocol }}
transport.proxyProtocolVersion = {{ $upstream.TCP.ProxyProtocol }}
{{ end }}
use_encryption = true
transport.useEncryption = true
{{ end }}
{{ end }}
`

0 comments on commit 15aa058

Please sign in to comment.