Skip to content

Commit

Permalink
Fix transportServer directive bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LorcanMcVeigh authored Dec 2, 2020
1 parent e005f23 commit 2c4afea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions internal/configs/version2/nginx-plus.transportserver.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ upstream {{ $u.Name }} {

{{ $s := .Server }}
server {
set $resource_type "transportserver";
set $resource_name "{{$s.Name}}";
set $resource_namespace "{{$s.Namespace}}";

{{ if $s.TLSPassthrough }}
listen {{ $s.UnixSocket }} proxy_protocol;
set_real_ip_from unix:;
Expand Down
3 changes: 0 additions & 3 deletions internal/configs/version2/nginx.transportserver.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ upstream {{ $u.Name }} {

{{ $s := .Server }}
server {
set $resource_type "transportserver";
set $resource_name "{{$s.Name}}";
set $resource_namespace "{{$s.Namespace}}";
{{ if $s.TLSPassthrough }}
listen {{ $s.UnixSocket }} proxy_protocol;
set_real_ip_from unix:;
Expand Down

0 comments on commit 2c4afea

Please sign in to comment.