using location.capture to post a form

jpsonweb nginx-forum at
Thu Sep 18 16:02:57 UTC 2014

Thank you Yichun, 

I was able to post the parameter from nginx by passing the arguments using
   local maken_res = ngx.location.capture("/test", { method = ngx.HTTP_POST,
args = { pagelayout = dev_res_encoded }});

This works only when post parameter size is less than 81568 characters. When
the parameter size is greater than 81568, we get error 502. 

is there any way to get around this limitation or is there a different way
to post more than 81568 characters.


Posted at Nginx Forum:,253311,253393#msg-253393

More information about the nginx mailing list