Hello All,<br><br>I've migrated from Apache 2 to nginx. Everything is great, except I cannot figure out how to alter a n HTTP header. Here's what's happening. I'm using nginx as a reverse proxy. The upstream server sets a cookie using the Set-Cookie HTTP header. I want to append something to the end of that header before it gets to the client.<br>
<br>So, upstream server sends<br><br>Set-Cookie: Name=Value<br><br>I want it to look like this<br><br>Set-Cookie: Name=ValueAppendedContent<br><br>How can I do this in nginx? In Apache, here's what I did:<br><br>Header edit Set-Cookie $ 'AppendedContent'<br>
<br>Maybe I should mention that I'm doing this because I want to specify the cookie domain. (I would do this in my upstream server, but it is difficult/not possible.)<br><br>Thanks for any tips!<br><br>Ian<br>