Skip to content

[os-nginx] Add support for unix socket upstreams #2767

@valpackett

Description

@valpackett

Is your feature request related to a problem? Please describe.
Trying to set unix:/var/run/whatever.sock in the hostname field of an nginx upstream results in "please specify a valid address (IPv4/IPv6) or hostname" for the hostname and "Field upstream_server.[…].port is required" for the port.

Describe the solution you'd like
When the "hostname" field starts with unix:, allow it and ignore the port.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributor missingincompleteIssue template missing info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions