This question is about managing/administering the software of a server in a business environment, so I hope it is not off-topic.
We plan to migrate some of our websites to Docker running on our Synology NAS. However, sites running in Docker have port numbers like 32153. We need to be able to map a specific domain to a specific port but have that appear as if the site is actually running on port 80 for HTTP and 443 for HTTPS.
For example, site1
may be running in docker under port 32100
and is accessible via http://10.0.0.1:32100. However, we want it to be accessible via http(s)://www.mysite1.com:80(:443).
Lastly, if possible, I'd like each of these sites to share the same IP address.
I considered configuring a reverse proxy, such as the IIS Rewrite module on Windows, but prefer a native system method if possible.
How would we enable this type of mapping in Synology or via standard Unix features?
If you