Skip to content

Support to add prefix and extra header to address field #157

@DhananjayPurohit

Description

@DhananjayPurohit

There should be a parameter to include a prefix in the address field. Currently, adding a complete URL to the address results in a 502 Bad Gateway error. Additionally, a feature to include extra headers in the configuration should be supported.

The service configuration file (aperture.yaml) should look like this:

- name: "service1"
  hostregexp: "^localhost:8081$"
  pathregexp: '^/api$'
  address: "0.0.0.0:443"
  protocol: https
  header:
    Authorization: "Bearer key"
  price: 10
  rewrite:
    prefix: "/path/to/api"

Metadata

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