[GH-ISSUE #934] How to proxy/use multiple services under one address? #793

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

Originally created by @jakegibbonsdev on GitHub (Mar 10, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/934

Simple services I can make work. How do I proxy an aliased service?

From the project https://github.com/ubc/docker-canvas, I have implemented https://github.com/ubc/docker-canvas/blob/master/docker-compose.yml. The app service is anchored and the worker service is aliased. I have tried to proxy to the app service with container name port 80
the worker service with container name port 80
the app service with container name port 8900
the worker service with container name port 8902
the app service with container IP port 80
the worker service with container IP port 80

I have even tried to set a custom location for / to http://example.com:8900/login/canvas, but I keep getting "Congratulations You've successfully started the Nginx Proxy Manager..."

app: &app
image: docker-canvas
build: .
command: bash -c "./wait-for-it.sh -t 40 db:5432 && /usr/src/entrypoint"
environment:
...
ports:
- "8900:80"
...
worker:
<<: *app
command: bundle exec script/delayed_job run
ports:
- "8902:80"

Originally created by @jakegibbonsdev on GitHub (Mar 10, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/934 Simple services I can make work. How do I proxy an aliased service? From the project https://github.com/ubc/docker-canvas, I have implemented https://github.com/ubc/docker-canvas/blob/master/docker-compose.yml. The app service is anchored and the worker service is aliased. I have tried to proxy to the app service with container name port 80 the worker service with container name port 80 the app service with container name port 8900 the worker service with container name port 8902 the app service with container IP port 80 the worker service with container IP port 80 I have even tried to set a custom location for / to http://example.com:8900/login/canvas, but I keep getting "Congratulations You've successfully started the Nginx Proxy Manager..." app: &app image: docker-canvas build: . command: bash -c "./wait-for-it.sh -t 40 db:5432 && /usr/src/entrypoint" environment: ... ports: - "8900:80" ... worker: <<: *app command: bundle exec script/delayed_job run ports: - "8902:80"
kerem closed this issue 2026-02-26 06:34:27 +03:00
Author
Owner

@Val-istar-Guo commented on GitHub (Mar 14, 2021):

i have same problem.

And I find a same issue: https://github.com/jc21/nginx-proxy-manager/issues/689

<!-- gh-comment-id:798931899 --> @Val-istar-Guo commented on GitHub (Mar 14, 2021): i have same problem. And I find a same issue: https://github.com/jc21/nginx-proxy-manager/issues/689
Author
Owner

@hhyhxc commented on GitHub (Mar 21, 2021):

i have same problem. help。。

<!-- gh-comment-id:803572995 --> @hhyhxc commented on GitHub (Mar 21, 2021): i have same problem. help。。
Author
Owner

@chaptergy commented on GitHub (May 12, 2021):

Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/689

<!-- gh-comment-id:840067493 --> @chaptergy commented on GitHub (May 12, 2021): Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/689
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#793
No description provided.