I'm trying to do a workaround.. on the server of my client a service with an apache is already running, now i'm trying to add a subdomain to my service which includes a nginx running in docker. My question: how can I add a subdomain to the apache which points to the nginx running in docker?
sounds as a bad solution but its to much effort to put the services together, what do you think? (osTicket is already running behind the apache and I want to install bitwarden - bitwarden.com)
Thank you for your help!
Architecturally, this is completely back to front. While Apache is quite capable of runing as a proxy, it is a complex and heavy bit of software - putting it in front of a lightweight webserver is putting the cart in front of the horse.
You've not said what you are trying to achieve: do you only have a single IP address? Do you NEED them to appear under the same vhost name?
You could put both behind a proxy - nginx or varnish being obvious candidates.
OSTicket is a PHP/MySQL application - it will run nginx+php-fpm just as well as on Apache and mod_php. However bitwarden itself is a standalone webserver - why are you trying to add another server into the mix?