Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
sketch of what a gRPC backend to nginx might look like based off
server {
listen 8443 ssl http2;
listen [::]:8443 ssl http2;
ssl_certificate /some/place/server.crt;
ssl_certificate_key /some/place/server.key;
location /internal {
proxy_http_version 2.0;
proxy_pass http://$some_ip:50051;
proxy_set_header X-REAL-IP $remote_addr;
proxy_request_buffering off;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment