Removing specific QS parameters before reverse_proxy call

1. The problem I’m having:

I am trying to find a way to remove specific query string parameters (i.e. gclid, utm) while leaving others before doing reverse_proxy call.

i.e.
https://example.com/?gclid&utm=a&some-query=1
would end up:
https://example.com/?some-query=1

2. Error messages and/or full log output:

No errors. I don't know how to start with it :)

3. Caddy version:

Caddy v.2.7.6

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