User Guide

http.proxyprotocol
Plugin

This directive enables PROXY protocol (v1) support to Caddy.

The PROXY PROTOCOL allows the client IP to be passed through a load balancer like those used in AWS or Google Cloud.

Full documentation

Examples

Enable from a local subnet and fixed IP
proxyprotocol 10.22.0.0/16 10.23.0.1/32

Enables IPv4 traffic from the 10.22.0.0/16 subnet and 10.23.0.1 IP to send PROXY headers.

Enable from any source
proxyprotocol 0.0.0.0/0 ::/0

This enables any client to specify PROXY data. (not recommended for production)

Related Links
Documentation

Access the full documentation for this plugin off-site:

Docs
Plugin Help

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

Support
Plugin Website

Visit http.proxyprotocol's website for more information:

Website
Plugin Author: Nathaniel Caza
Last Updated: 23 Apr 2017, 6:55 PM
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.