This message was deleted.
# help
s
This message was deleted.
t
Hi Jackie,
proxyPassThrough
is a startup and global settings parameter. The easiest way to set it is at startup, so
--proxy-pass-through=false
on the CLI or
proxyPassThrough(false)
in the options builder if you’re starting programmatically.
Another option if you want to customise the 404 response is to create a stub that matches any method, any URL, has low priority e.g. 9 and returns whatever 404 response you want.
j
Hi @Tom i’m using wiremock-jre8 2.33.2 and don’t see the proxyPassThrough api in the WireMockConfiguration class which i would like to start it programmatically. could you please suggest?
t
You’ll need to use the latest 3.x version to access this parameter