Skip to content

Naming of proxy protocol configuration options #409

Description

@eumox

Thank you for maintaining this project!

Within the table configuration, there is an option to prepend a proxy protocol v1 header to a proxied connection.

table http_hosts {
...
example.org 192.0.2.10:8003 proxy_protocol
}

However, within the listener configuration, the option that prepends a proxy protocol v1 header to a connection proxied by a fallback server has a different name, and it does not seem to be documented elsewhere.

listen 80 {
...
fallback localhost:8080 proxy
}

I believe it makes sense to rename the latter option to "proxy_protocol" and reflect it in a configuration file template.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions