# WebHook: disable the proxy just for some of them

**URL:** <https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048>\
**Category:** Dynatrace Managed\
**Tags:** integrations, dynatrace-managed, servicenow\
**Created:** [August 13, 2020, 9:13am UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048 "2020-08-13T09:13:44Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [August 13, 2020, 9:13am UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/1 "2020-08-13T09:13:44Z")

</div>

Hello community people!

We are about to integrate Dynatrace with a third party component (Service Now). For that we need to configure a webhook that will pass via proxy.

On the other hand I have at least one other custom made integration that use webhook from Dynatrace but doesn’t need to pass via a proxy.

In order to setup my custom made integration I previously setted the property

```auto
proxy-off = true

```

in [http.client.external] section of my config.properties in Dy Servers.

Is there a way to selectively choose what webhook must go via proxy and what other webhook must not? (as in my case: the one for Service Now must, the one for Custom Integration must not)

Thank you for your time

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [August 13, 2020, 9:28am UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/2 "2020-08-13T09:28:17Z")

</div>

Try adding additional property to the section:

```auto
proxy-non-proxy-hosts = *.company.corp.org

```

To include a number of hosts, separate them with the `|` characters. You can also use an asterisk `*` to replace any string. For example: `proxy-non-proxy-hosts=*.london.dynatrace.com|my.corp.org`

I haven’t documented that yet, but I’ll.

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [August 13, 2020, 10:46am UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/3 "2020-08-13T10:46:40Z")

</div>

Hi Radoslaw, thank you for your time and answer;

I’m not so sure about what you wrote me, the only piece of documentation I can find is on proxy config when it comes to test resource via Synthetic:

**[Set up a proxy for private synthetic monitoring](https://docs.dynatrace.com/docs/platform-modules/digital-experience/synthetic-monitoring/private-synthetic-locations/setting-up-proxy-for-private-synthetic)**

but here I’m referring to proxy config when I need to send payload via webhook with Dynatrace to another Ip/host/application:

**[Webhook URL in custom Integration](https://docs.dynatrace.com/docs/shortlink/webhook)**

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [August 13, 2020, 11:05am UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/4 "2020-08-13T11:05:07Z")

</div>

Yes, I got you.

So you wrote to control the proxy settings you modify config.properties file on each Dynatrace Managed node. That’s proper way to do it. Instead of turning off the proxy by adding “proxy-off” = true you should add what I proposed. Then restart the node. Repeat for each node. Let me know how it works.

You need to have your Dynatrace Managed at latest release: 1.198.

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [August 13, 2020, 2:01pm UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/5 "2020-08-13T14:01:24Z")

</div>

[@Yann Buccellato](https://answers.dynatrace.com/users/30655/view.html) worked ?

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [August 14, 2020, 11:37am UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/6 "2020-08-14T11:37:18Z")

</div>

Hi Radoslaw,

I have tried your solution:

in the **custom.settings**

.removed the line _proxy-off_ = true

.added the line _proxy-non-proxy-hosts_= 123.mycompany.it (this one will not pass via proxy then)

.saved my custom.settings file

.restarted the node.

The solution has not worked (custom webhook was still working escaping the proxy but the Service Now webhook wasn’t working cause it wasn’t mde via proxy as we intended)

What I notice is this:

after I restart the Dy node the new property (_proxy-non-proxy-hosts_) was added on top of the other properties before in /server/conf/ **config.properties** but the old property is not be erased from that file (so proxy-off = true was still there even if I erased it from custom.settings)

So I decided to add the _proxy-off_ = _ **false** _ with the other property _custom.settings =_ 123.mycompany.it

The **config.properties** changed accordingly after the restart. So now I’m in the reverse situation: the Service Now webhook work but the custom one doesn’t.

Is there a way to erase the proxy-off property from the original _ **config.properties** _ file by modifying the _ **custom.settings** _ file? (I also tried to comment it out [#proxy-off] or to not put a value at all, but it’s not working)

Thank you

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [August 19, 2020, 8:21am UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/7 "2020-08-19T08:21:01Z")

</div>

If you have any news on the subject let know please.

If the solution will be soon in the documentation I will wait for it,

thank you!

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [August 19, 2020, 11:08am UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/8 "2020-08-19T11:08:23Z")

</div>

that might be a bug.. Can you please create a support ticket or contact with our Dynatrace ONE via help chat?

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [August 19, 2020, 1:03pm UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/9 "2020-08-19T13:03:09Z")

</div>

I will do and I will keep you updated

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [August 21, 2020, 7:27am UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/10 "2020-08-21T07:27:35Z")

</div>

Hi, I opened a ticket to the support; they say they are currently aware that you cannot decide which webhook goes with a proxy and which not.

So apparently there is no solution to this; I ask them to double check based on this community thread

If there is no solution I’ll speak with my SOC team a redirect my custom Webhook from proxy to the endpoint.

Thank you

---

<div class="post-metadata">

**Author:** ![darwin\_wong](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@darwin\_wong](https://community.dynatrace.com/u/darwin_wong)\
**Post date:** [November 11, 2020, 4:00pm UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/11 "2020-11-11T16:00:17Z")

</div>

Just found this thread as I’m in similar situation… mixing webhook URLS with proxy and non-proxy. Were you able to find any other mods that worked in the config file?

---

<div class="post-metadata">

**Author:** ![darwin\_wong](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@darwin\_wong](https://community.dynatrace.com/u/darwin_wong)\
**Post date:** [November 19, 2020, 10:00pm UTC](https://community.dynatrace.com/t/webhook-disable-the-proxy-just-for-some-of-them/20048/12 "2020-11-19T22:00:33Z")

</div>

Looks like they finally added this feature in 1.206 officially!
