[GH-ISSUE #1439] Either add <ip>:port support to proxy hosts or add https support to port streams #1116

Closed
opened 2026-02-26 06:35:49 +03:00 by kerem · 3 comments
Owner

Originally created by @gomme600 on GitHub (Sep 28, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1439

Hi there,

I am looking to add https to a local server. I have generated a custom ssl certificate and I have added it. The problem is that nginx proxy manager wants a hostname (I can't create one for the purpose of this project) whereas I want to use an IP adresse. I want to be able to go <server_ip>:port and be "proxied" to a HTTP server (LAVA) but via HTTPS.

Is this possible?

Thanks

Originally created by @gomme600 on GitHub (Sep 28, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1439 Hi there, I am looking to add https to a local server. I have generated a custom ssl certificate and I have added it. The problem is that nginx proxy manager wants a hostname (I can't create one for the purpose of this project) whereas I want to use an IP adresse. I want to be able to go <server_ip>:port and be "proxied" to a HTTP server (LAVA) but via HTTPS. Is this possible? Thanks
kerem 2026-02-26 06:35:49 +03:00
Author
Owner

@chaptergy commented on GitHub (Sep 28, 2021):

It might be possible, but it would require for your npm instance host to be assigned multiple IP addresses, so your proxy knows from the IP address to which other machine it would have to forward it. So each proxied service would need its own IP address, and a different one for the proxy instance.

Adding an IP address as a domain name is generally possible in NPM.

image

<!-- gh-comment-id:929051488 --> @chaptergy commented on GitHub (Sep 28, 2021): It might be possible, but it would require for your npm instance host to be assigned multiple IP addresses, so your proxy knows from the IP address to which other machine it would have to forward it. So each proxied service would need its own IP address, and a different one for the proxy instance. Adding an IP address as a domain name is generally possible in NPM. ![image](https://user-images.githubusercontent.com/26956711/135068000-c307aa23-7baf-483c-97f7-ed7cf068d2da.png)
Author
Owner

@gomme600 commented on GitHub (Sep 28, 2021):

Thanks for the tip. I already have 2 IPs on this machine. The LAVA server is running on the same machine as npm aswell. So I would need 3 IPs then ? Currently both IPs point to npm and inputting them into the domain name field doesn't work, I just get the npm "It work's!" page.

<!-- gh-comment-id:929130948 --> @gomme600 commented on GitHub (Sep 28, 2021): Thanks for the tip. I already have 2 IPs on this machine. The LAVA server is running on the same machine as npm aswell. So I would need 3 IPs then ? Currently both IPs point to npm and inputting them into the domain name field doesn't work, I just get the npm "It work's!" page.
Author
Owner

@gomme600 commented on GitHub (Sep 28, 2021):

Ok so it works! In fact, after rebooting I was able to redirect xx.xx.xx.17 to xx.xx.xx.17:81 with the proxy host so I don't know if I actually need multiple IPs afterall!

<!-- gh-comment-id:929208013 --> @gomme600 commented on GitHub (Sep 28, 2021): Ok so it works! In fact, after rebooting I was able to redirect xx.xx.xx.17 to xx.xx.xx.17:81 with the proxy host so I don't know if I actually need multiple IPs afterall!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1116
No description provided.