Skip to content

Bug: Proxy validation #1234

Open
Open
@Pavlusha311245

Description

Nginx Unit version: 1.32.1

Validation error when setting action proxy. http://host.docker.internal:7600 fails verification

Config inside my docker container:

I tried to use this inside a container to communicate with the host, but there is no way to simply load it :)

{
  "listeners": {
    "*:80": {
      "pass": "routes/test"
    },
  },
  "routes": {
    "test": [
      {
        "action": {
          "proxy": "http://host.docker.internal:7600"
        }
      }
    ],
  }
}

Error:

{
        "error": "Invalid configuration.",
        "detail": "The \"proxy\" address is invalid \"host.docker.internal:7600\""
}

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions