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.
Integration of MapTiler Server into existing Nginx installation can be done based on the official Nginx Setting Up a Simple Proxy Server guide.
You also need to remember to set up the forwarding of
X-Forwarded-* headers from Nginx to MapTiler Server. This ensures that the MapTiler Server knows the address where it is accessible from outside and can construct absolute URLs to itself.
The basic Nginx configuration can look somehow like this:
This should be enough to get started. If you have the MapTiler Server running and the domain is properly pointed to your server, the maps should now be accessible at
http://maps.mycompany.com/ and administration at