nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Proxy Hosts with port in the domain field fail to redirect properly

Open 0chroma opened this issue 2 years ago • 0 comments

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 adding a port to the end of a proxy host's domain, NPM fails to set the proxy up properly

Nginx Proxy Manager Version 1.26.1

To Reproduce Steps to reproduce the behavior:

  1. Go to Proxy Hosts
  2. Create new Proxy Host
  3. Enter a domain with a port on the end (ie my.domain.com:8114)
  4. Forward to working host and save
  5. connection to my.domain.com:8114 fails

Expected behavior proxy host forwards correctly

Screenshots n/a

Operating System raspberry pi OS, docker image

Additional context I found that adding listen 8114 ssl default_server; to the custom config tab made it work as expected. If there's no SSL cert selected for the domain, then you can omit the ssl part.

0chroma avatar Sep 17 '22 13:09 0chroma