This module is an extension and is not necessarily built in Nginx by default. The build must be enabled with the
--with-http_sub_module configuration parameter. Check your version to make sure it is available.
Download the Agent
Open the browser application in which you are interested.
From the left navigation menu, select Configuration.
Place the file somewhere accessible to the Nginx instance. The name of the saved file should be
For example, modify the location context to replace the
<head> tag with the
Sample Nginx Configuration
/adrum.js is the path to a copy of the adrum file that is accessible to the server. Note the timer initialization:
<script>window['adrum-start-time'] = new Date().getTime();</script>. Keeping this as close as possible to the top of the document, preferably right after the
<head> tag, ensures the best possible timings.
If you use
<meta> tags, you should place them right after your
<meta> tag. This can avoid issues with some versions of IE.
You may need to escape some characters, depending on your platform. For example, on MacOS:
This Nginx module is often used for adding the Google Analytics script. Be careful not to overwrite any existing GA script when you do this.