mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #2049] Have multiple ip redirects to domain with the same ip? #1481
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1481
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HardChalice on GitHub (May 12, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2049
Hey all,
Im using NPM to for a couple of services on a single machine and I can set up SSL fine for my domains. However I want to be able to redirect any
<IP>:<Port>requests for these services to their respective domain name. The reason being is I'm using a wildcard cert and when I route over the IP's its unencrypted as the wildcard cert doesn't apply. I could theoretically use LetsEnycrypt but I was hoping to avoid that in this specific case.I can have a single redirect for a service working where the
Domain Name = IPandForward Domain = Domainwith the Advanced section having anListen 8000. However I can't duplicate this for multiple services on different ports as it says theDomain Name = IPis already in use.@jtrosper commented on GitHub (May 13, 2022):
Certificates, even wildcards, are only valid when called upon by a browser in reference to a targeted domain. The certificate is issued for the domain, and the IP address is not a part of that domain.
Is there something preventing you from creating subdomains with CNAME DNS records and pointing those at your individual proxy hosts?
@HardChalice commented on GitHub (May 13, 2022):
The issue isn't creating sub domains, its mapping the server IP to the multiple sub domains. Nginx Proxy Manager will only let me specify the server IP once in the redirect setup even though I have multiple services running on the same IP.
For example redirect from
Server_IP:3000 -> subdomain1works (with advanced config to listen on port 3000). However I can't createServer_IP:3001 -> subdomain2becauseServer_IPis already in use.@the1ts commented on GitHub (May 22, 2022):
I think you'll have to do an IP based host and multiple listen lines for all the ports wanted and then multiple return url lines dependent on port in the advanced config.
but putting that behind SSL is another matter, letsencrypt does not allow certs for IPs and many CAs don't either. Its a hack, what is hard coded to use ip:port that can't be changed? This feels like going back 30 years with people ignoring DNS.
@github-actions[bot] commented on GitHub (Feb 17, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Apr 2, 2025):
Issue was closed due to inactivity.