NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.32k stars 2.7k forks source link

Unable to setup any Redirection Host #4080

Open twyxxywt opened 1 month ago

twyxxywt commented 1 month ago

Checklist

Describe the bug On version 2.12.1 (which I updated to yesterday), seem to rendered setting up any new Redirection Host broken.

No matter what domain I put in in "Domain Names" or in "Forward Domain". Kept getting the message "data/forward_scheme must be equal to one of the allowed values".

Nginx Proxy Manager Version v2.12.1

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Redirection Hosts'
  2. Click on 'Add Redirection Host'
  3. Add any new "Domain Names" and "Forward Domain"
  4. Error in red pops up - "data/forward_scheme must be equal to one of the allowed values"

Expected behavior New Redirection Host get added without any errors.

Screenshots

image

Operating System Hosted in Debian 12. Standard Docker install.

Additional context Tried it on multiple NPM instances running 2.12.1. Ran on a NPM running version "v2.11.3" and it's working fine.

madushanj commented 3 weeks ago

Same for me on version 2.12.1

haye86 commented 3 weeks ago

Same for me also version 2.12.1 also existing hosts cannot be altered, same error. seems like SSL certs for the redirection hosts cannot be renewed due to this error.

9021007 commented 2 weeks ago

Can confirm v2.12.1

ki4arl commented 2 weeks ago

Can confirm v2.12.1

danfratamico commented 3 days ago

Having the same issue

omidbaharifar commented 3 days ago

Same issue in my case, setting "Scheme" field to "http" or "https" fixes the problem. (It seems like there is a problem with processing the "auto" value for Scheme in the backend).

9021007 commented 3 days ago

Sure, though the issue is now that it now forces you to pick http or https, instead of just keeping whatever the user has going into the redirect.