mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #807] Specific Port #679
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#679
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 @hyprem on GitHub (Jan 6, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/807
HI
I would like to redirect a specific Port to a Service. I tried to do this via the Streams function in the Proxy Manager but it seems not working.
Here is my Nginx configuration that worked:
This was for Port 7615
And this config was for the main proxy Part:
Can anyone help me on achiving this in the Nginx Proxy Manager
@inmanturbo commented on GitHub (Jan 6, 2021):
Hello, may not be exactly what you are looking for but (I think) you can do this with the advanced tab for proxy hosts. If include your whole location slash (/) block and stuff in there you will essentially override everything. Here is an example of an advanced config that I paste into the advanced text box in order to check auth against a custom auth server on otherwise unprotected (static) site:
As you can see, almost none of these options are available in the
GUI, yet nonetheless if you can do it with nginx, or Open Resty (basically nginx with a ton of extra features), you can do it in the advanced box.So you can do one (advanced) host per server block with your config above.
@hyprem commented on GitHub (Jan 7, 2021):
Dear immanturbo
Thanks for your example! I tried it but it seems to turn the Host imidiently offline. I also teste your working example in my system and the host goes offline imidiently too. Do yoh made any other specific configuration?
Thanks
@inmanturbo commented on GitHub (Jan 7, 2021):
well no, aside from maybe the fact that all the proxy_pass hosts need to exist? So for instance in my example the auth location needs to exists. Otherwise Nginx will throw an error and won't be able to load.
@github-actions[bot] commented on GitHub (Mar 21, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (May 2, 2025):
Issue was closed due to inactivity.