Skip to content

feat: support to specify the scheme(http/https) in upstream #3336

Description

@membphis

we can specify the schema by the plugin: https://github.com/apache/apisix/blob/master/doc/plugins/proxy-rewrite.md

This function is too common, I think we should support this option in the upstream object.

Here is an example:

{
    "id": "1",                  # id
    "scheme": "http",               
    "nodes": {"host:80": 100},  # Upstream machine address list, the format is `Address + Port`
    "type":"roundrobin"
}

@lilien1010 @spacewander what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions