Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Ryan committed Nov 26, 2023
1 parent a75824a commit 8c23ebf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion internal/configs/version2/nginx-plus.virtualserver.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ server {
{{- end }}
{{- if $ssl.HTTP2 }}
http2 on;
<<<<<<< HEAD
{{- end }}

{{- if $ssl.RejectHandshake }}
Expand Down
7 changes: 1 addition & 6 deletions internal/configs/version2/nginx.virtualserver.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ limit_req_zone {{ $z.Key }} zone={{ $z.ZoneName }}:{{ $z.ZoneSize }} rate={{ $z.
{{- $s := .Server }}
server {
{{- if $s.Gunzip }}gunzip on;{{end}}

{{ makeHTTPListener $s | printf }}

server_name {{ $s.ServerName }};
Expand All @@ -51,9 +50,6 @@ server {
set $resource_name "{{$s.VSName}}";
set $resource_namespace "{{$s.VSNamespace}}";




{{- with $ssl := $s.SSL }}
{{- if $s.TLSPassthrough }}
listen unix:/var/lib/nginx/passthrough-https.sock proxy_protocol;
Expand All @@ -64,8 +60,7 @@ server {
{{- end }}
{{- if $ssl.HTTP2 }}
http2 on;
{{- end }}

{{- end }}

{{- if $ssl.RejectHandshake }}
ssl_reject_handshake on;
Expand Down

0 comments on commit 8c23ebf

Please sign in to comment.