This page is about Caddy 1 and will go away soon because Caddy 2 is now available. Click here for Caddy 2.

User Guide

http.grpc
Plugin

The Caddy grpc plugin proxies gRPC calls from clients to gRPC servies. It makes it possible for gRPC services to be consumed from normal gRPC clients or from browsers (using the gRPC-Web protocol).

Full documentation

Examples

Basic setup
grpc.example.com grpc localhost:9090

The above will be a basic setup of the grpc plugin. This will proxy any grpc requests to localhost:9090

Setup with other directives
grpc.example.com prometheus log grpc localhost:9090

This will proxy any grpc requests to localhost:9090 along with the log and prometheus directives

Related Links
Documentation

Access the full documentation for this plugin off-site:

Docs
Plugin Help

Get help from the maintainers of the http.grpc plugin:

Support
Plugin Website

Visit http.grpc's website for more information:

Website
Plugin Author: Pieter Louw
Last Updated: 29 Jun 2017, 6:52 AM
This plugin is independent of the Caddy project and is not endorsed or maintained by Caddy developers. Use at your own risk. Do not file issues for this plugin on Caddy's bug tracker.