If you have not yet installed the MapTiler Server, follow this guide first.
MapTiler Server is designed to run without any external dependency, so it can be directly accessible from the internet. In some cases, it might be beneficial to put a reverse proxy (such as Nginx or Apache) in front. It is useful especially if you want to set up additional security measures, HTTPS, serve multiple services on a single machine, load-balancing, rate-limiting, or other advanced features.
Apache's basic configuration contains two steps. First, you need to enable the proxy module for the webserver with:
After that, you can set your virtual host to enable MapTiler Server on a specific domain.
The basic configuration of the Apache virtual host is: