5 ms·
This post shows how your application servers (Rails, Django, Laravel, etc.) can offload file delivery to reverse proxy servers like Nginx using the X-Accel-Redi
by software_writer 1y ago
This post shows how your application servers (Rails, Django, Laravel, etc.) can offload file delivery to reverse proxy servers like Nginx using the X-Accel-Redirect (or X-Sendfile) header. We'll also read a new reverse proxy's (Thruster) source code in Go to learn how this pattern is implemented at the proxy level.