diff --git a/nginx.tmpl b/nginx.tmpl index fb0766b..c108fa2 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -215,6 +215,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 $keepalive }}true{{ else }}false{{ end }};