|
@@ -268,6 +268,8 @@
|
|
|
{{- end }}
|
|
|
{{- else if eq .Proto "grpc" }}
|
|
|
grpc_pass {{ trim .Proto }}://{{ trim .Upstream }};
|
|
|
+ {{- else if eq .Proto "grpcs" }}
|
|
|
+ grpc_pass {{ trim .Proto }}://{{ trim .Upstream }};
|
|
|
{{- else }}
|
|
|
proxy_pass {{ trim .Proto }}://{{ trim .Upstream }}{{ trim .Dest }};
|
|
|
set $upstream_keepalive {{ if ne $keepalive "disabled" }}true{{ else }}false{{ end }};
|