Skip to content

Add support for code 501 Not Implemented in proxy_next_upstream #794

@zebrapurring

Description

@zebrapurring

Describe the feature you'd like to add to nginx

Currently proxy_next_upstream supports forwarding requests to a failover upstream when receiving HTTP codes 500, 502, 503, 504, 403, 404 or 429.

It would be useful to also support code 501 Not Implemented, especially when migrating to a new version of a backend where not all the endpoints may be implemented yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions