Make sure your API accepts requests originating from Nadles.
Header
, Action: Replace
.
This will add a header with the given name and value, or replace it with the specified value, if the request already has a header with this name.
X-Api-Key
.
Value
field.
Please check the screenshot below for an example.
X-Api-Key: <value>
to each request.
map
statement together with an if
condition as shown below.
X-Api-Key
header absent or having a different value than key1
.
Replace the key1
with the API key you generated for Nadles API Gateway and reload Nginx.