# Nginx - can front-end proxy for very long POSTs with upload status support?

**URL:** <https://www.ruby-forum.com/t/nginx-can-front-end-proxy-for-very-long-posts-with-upload-status-support/197407>\
**Category:** NGINX\
**Created:** [October 13, 2010, 11:55pm UTC](https://www.ruby-forum.com/t/nginx-can-front-end-proxy-for-very-long-posts-with-upload-status-support/197407 "2010-10-13T23:55:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [October 13, 2010, 11:55pm UTC](https://www.ruby-forum.com/t/nginx-can-front-end-proxy-for-very-long-posts-with-upload-status-support/197407/1 "2010-10-13T23:55:47Z")

</div>

Hi list,  
I did do some google searches but came up empty. I read the nginx  
proxy module docs but also came up empty.

Can nginx act as a front-end proxy for very long POST requests where  
the back-end server is not bothered until the POST is totally complete  
(at which point it is given the data).

Further, can it support (while the POST is in progress) another query  
as to the status of the POST (bytes completed, bytes to go).

These two things are needed to take away POST loads from back-end  
typically pre-forked app servers where they are tied down watching a  
long upload dribble in.

thanks.

---

<div class="post-metadata">

**Author:** ![jbjbjb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/82dd89/32.png) [@jbjbjb](https://www.ruby-forum.com/u/jbjbjb)\
**Post date:** [October 14, 2010, 12:05am UTC](https://www.ruby-forum.com/t/nginx-can-front-end-proxy-for-very-long-posts-with-upload-status-support/197407/2 "2010-10-14T00:05:47Z")

</div>

> Can nginx act as a front-end proxy for very long  
> POST requests where  
> the back-end server is not bothered until the POST  
> is totally complete  
> (at which point it is given the data).

It is exactly how it’s done in nginx.

> Further, can it support (while the POST is in  
> progress) another query  
> as to the status of the POST (bytes completed,  
> bytes to go).

Yes, using this module [GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub](http://wiki.nginx.org/HttpUploadProgressModule)

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,140284,140290#msg-140290](http://forum.nginx.org/read.php?2,140284,140290#msg-140290)

---

<div class="post-metadata">

**Author:** ![jbjbjb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/82dd89/32.png) [@jbjbjb](https://www.ruby-forum.com/u/jbjbjb)\
**Post date:** [October 14, 2010, 12:15am UTC](https://www.ruby-forum.com/t/nginx-can-front-end-proxy-for-very-long-posts-with-upload-status-support/197407/3 "2010-10-14T00:15:47Z")

</div>

thanks, of course. You are right. My searching skills evidently failed.  
I’m building it all now.
