Copy headers with internal redirect

Witold Filipczyk gglater62 at gmail.com
Mon Dec 6 09:01:22 UTC 2021


Hi,
There is
location ~ ^/blahblah/
{
	internal;
}

There is also Apache which set header X-Accel-Redirect.
For example X-Accel-Redirect: /blahblah/1
but also set other headers. How in nginx copy all these headers to the client?
Do you know such a module?
Or how to write something like this?


More information about the nginx mailing list