We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ebf9d6 + 7391ce9 commit a2bdbcdCopy full SHA for a2bdbcd
nginx.tmpl
@@ -321,8 +321,10 @@
321
{{- end }}
322
{{- else if eq $proto "grpc" }}
323
grpc_pass {{ trim $proto }}://{{ trim $upstream }};
324
+ grpc_set_header X-Real-IP $remote_addr;
325
{{- else if eq $proto "grpcs" }}
326
327
328
{{- else }}
329
proxy_pass {{ trim $proto }}://{{ trim $upstream }}{{ trim $dest }};
330
set $upstream_keepalive {{ if ne $keepalive "disabled" }}true{{ else }}false{{ end }};
0 commit comments