Skip to content

rocketreferrals/caddy-go-proxyproto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

caddy-go-proxyproto

Caddy wrapper for go-proxyproto

caddy listener wrapper go_proxyproto for Caddy 2 adds support for PROXY headers using the go proxy proto listener https://github.com/pires/go-proxyproto

JSON

This module is only designed to work with JSON configurations in Caddy. Load the listener before the tls wrapper

{
  "apps": {
    "http": {
      "servers": {
        "myserver": {
          // ...
          "listener_wrappers":[{"wrapper": "go_proxyproto", "timeout": "5s"}, {"wrapper":"tls"}]
          // ...
        }
      }
    }
  }
}

About

Caddy wrapper for go-proxyproto

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages