Run the following script to install Metlo’s Nginx module:

curl >>
chmod +x
./ [ --ubuntu | --debian ]

You can also download and install the module for ubuntu or debian manually.


Metlo requires two components to be setup within the nginx configuration file

# In the main configuration block
load_module                     modules/;
thread_pool                     metlo threads=2 max_queue=65536;

After that, just add these environment variables to nginx.

  • METLO_URL: ""
  • METLO_API_KEY: Your Metlo API key