nginx-proxy / nginx-proxy/nginx-proxy

Question: Setting up additional apps on top of (nextcloud+nginx reverse-proxy+letsencrypt + mariadb))

Open
#1,295 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

The question forums does not show up so I assume it was closed down.

I am using the docker compose file you made for (nextcloud+nginx reverse-proxy+letsencrypt + mariadb)

https://hackprogramming.com/how-to-setup-subdomain-or-host-multiple-domains-using-nginx-in-linux-server/

I am trying to add other containers for the reverse proxy to serve. I planned on doing this by requiring domain.com/app1 , domain.com/app2, etc... instead of having nextcloud on domain.com. When all is done I will have a website hosted at domain.com that the reverse proxy serves but that website is not Nextcloud. NextCloud will be at domain.com/app1 . Other applications will be at domain.com/app2, etc...

In the docker compose file, I tried changing the virtual host to VIRTUAL_HOST=domain.com/app1
but it broke the setup of NextCloud. It was not possible to access then website. When I did
VIRTUAL_HOST=domain.com
it worked fine.

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 with the linked Docker Compose setup guide and the configuration using VIRTUAL_HOST=domain.com. Trace how the reverse proxy handles host and path routing for Nextcloud and additional containers, then define the expected behavior for domain.com/app1 and domain.com/app2 and verify that the existing Nextcloud setup remains accessible.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, mariadb, nginx
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.