Skip to content

Need to Explicitly set Swagger specs_url Scheme When Deployed on Behind AWS Elastic Load Balancer. #237

@DustinMoriarty

Description

@DustinMoriarty

We have found that when we deploy to AWS ECS behind an elastic load balancer, we need to subclass the API class in order to explicitly set the scheme for the URL such that it sets an external URL instead of a relative URL. It would be preferable if this option was built into flask-restx itself.

I plan to submit a PR for this issue.

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