I don't think it's anywhere here as I was looking for that a while, but forgive me if you find my question possible duplicate.
I have VPS server. All websites there run in docker containers with nginx / nginx-gen / nginx lets encrypt companion in the front.
I have one largest app there which will enable users to add their domains to point this app. I have to have it automated. My app will handle domains accordingly and that's not an issue.
The question is how to set up nginx to forward all requests for domains which are not handled by any other containers (so they are getting separate config blocks) to my app which is one of the containers.
Is there any way to do that?