nginx-proxy-manager
nginx-proxy-manager copied to clipboard
Proxy Hosts with port in the domain field fail to redirect properly
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:
- Go to Proxy Hosts
- Create new Proxy Host
- Enter a domain with a port on the end (ie my.domain.com:8114)
- Forward to working host and save
- 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.