# NodeJS proxy

**URL:** <https://discuss.elastic.co/t/nodejs-proxy/336921>\
**Category:** Elastic Agent\
**Created:** [June 26, 2023, 4:01pm UTC](https://discuss.elastic.co/t/nodejs-proxy/336921 "2023-06-26T16:01:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sasheks](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sasheks](https://discuss.elastic.co/u/sasheks)\
**Post date:** [June 26, 2023, 4:01pm UTC](https://discuss.elastic.co/t/nodejs-proxy/336921/1 "2023-06-26T16:01:20Z")

</div>

Hello, hopefully posting this in the correct section.

Is there a "recommended" or "best way" to configure a proxy for the agent when using the "elastic-apm-node" package? I couldn't find anything official in the documentation for NodeJS while the Java equivalent has a fairly standard way of achieving this.

Many thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 24, 2023, 4:02pm UTC](https://discuss.elastic.co/t/nodejs-proxy/336921/2 "2023-07-24T16:02:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
