After compiling caddy with this plugin:
$ xcaddy build --with github.com/mastercactapus/caddy2-proxyprotocol
And trying to validate:
$ caddy validate --config Caddyfile --adapter caddyfile
This Caddyfile:
app.example.com {
listener_wrappers {
proxy_protocol {
timeout 2s
allow 0.0.0.0/0
}
tls
}
reverse_proxy backend:3000
}
I'm getting the error: Unrecognized directive: listener_wrappers
Why is this? I'm I using the syntax wrong? Did I compile caddy wrong?
After compiling caddy with this plugin:
$ xcaddy build --with github.com/mastercactapus/caddy2-proxyprotocolAnd trying to validate:
$ caddy validate --config Caddyfile --adapter caddyfileThis Caddyfile:
I'm getting the error: Unrecognized directive: listener_wrappers
Why is this? I'm I using the syntax wrong? Did I compile caddy wrong?