Skip to content

Redirect Host: “data/forward_scheme must be equal to one of the allowed values” when selecting Auto scheme #4856

@vsc55

Description

@vsc55

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
When editing a Redirect Host, selecting “Auto” as the Scheme causes an error message:

data/forward_scheme must be equal to one of the allowed values

The redirect cannot be saved.
Choosing http or https works correctly, so the issue seems to be that the “Auto” option is not being accepted as a valid value.

Nginx Proxy Manager Version
2.13.1

To Reproduce
Steps to reproduce the behavior:

  1. Go to “Hosts” → “Redirect Hosts”.
  2. Create or edit a redirect entry.
  3. Set Scheme to Auto.
  4. Try saving the configuration.
  5. The error message appears.

Expected behavior
“Auto” scheme should be accepted or removed from the dropdown if not supported, to avoid confusion.

Screenshots
Image

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