0

In Nginx Plus acting as a reverse proxy I would like to be able to store the key:value represented by a response header in something like a map. As far as I can see, ngx_http_map_module can't be changed at runtime so I think that's ruled out. What similar storage could I consider?

3
  • Thanks, but it looks like 'keyval' only works in the http context whereas I would need to set the key in the location context based on a request header with the value based on a response header.
    – Adrian
    Jan 13, 2022 at 6:52
  • @alexey-ten I've been looking into the keval module you suggested (I think the http context wouldn't be a problem), and it seems that you have to use the API to set values. Do you know if it's possible somehow to set them without using the API?
    – Adrian
    Jan 17, 2022 at 22:27

0

You must log in to answer this question.

Browse other questions tagged .