Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 474 Bytes

request-id.md

File metadata and controls

28 lines (23 loc) · 474 Bytes
description
Adds a `x-request-id` header to every response to downstream (client) and upstream (your website)

Request ID

In order to enable a particular route to include x-request-id, you can do the following:

{% code title="proksi.hcl" lineNumbers="true" %}

lets_encrypt {
  enabled = true
  email = "[email protected]"
}

routes = [
  {
    host = "mywebsite.com"
    
    plugins = [{ 
      name = "request_id" 
    }]
  }
]

{% endcode %}