Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Support for multiple virtual hosts per service in nginx-proxy

Open
#72 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker-compose, nginx

Research direction

Start with the repository's docker-compose setup, the VIRTUAL_HOST usage, and the linked nginx-proxy documentation on multiple hosts. Compare the linked app/vo-federation PoC and define how separate host configuration should preserve the local setup; done means the intended multi-host use case works without relying on one VIRTUAL_HOST value for unrelated identification.

Written by the indexing model from the issue text.

Description

enhancement question

Currently the VIRTUAL_HOST environment variable is used by Nextcloud containers to derive an identifier for the instance among other things. This puts some limitations on how nginx-proxy can be used with regard to multiple virtual hosts.

I have a use case where I want to add an external reverse proxy on the web while also keeping the local setup intact. You can find a PoC here https://github.com/smesterheide/nextcloud-docker-dev/tree/app/vo-federation.

If there is interest in this I can create a PR where we disentangle the VIRTUAL_HOST environment variable.

Dominant language
PHP
Stars
190
Forks
103
Avg merge
4h 36m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

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.

More from nextcloud/nextcloud-docker-dev

All issues in nextcloud/nextcloud-docker-dev

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.