nginx-proxy / nginx-proxy/nginx-proxy

Expose different containers on different ports of the url

Open
#1,138 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.