nginx-proxy / nginx-proxy/nginx-proxy
Expose different containers on different ports of the url
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 19.9k
- Forks
- 3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 1
Description
I have a php based site say example.com.
I would like to serve the site on the default port: 80 - > example.com / example.com:80 -> Normal site displayed.
For phpMyAdmin I would like to use port: 8080 -> example.com:8080 -> phpMyAdmin displayed from port 80 of the pma container.
I tried tweaking the /path/to/vhost.d/example.com and /path/to/vhost.d/exapmple.com_location but could not get this running.
What can be a possible solution for this scenario?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the referenced /path/to/vhost.d/example.com and /path/to/vhost.d/exapmple.com_location files alongside the Docker and Nginx configuration described in the issue. Determine whether the configuration can route example.com:80 to the normal site and example.com:8080 to phpMyAdmin, and document or validate the resulting setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, nginx, php
- Domain
- devops, networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100