Welcome! Log In Create A New Profile


ngx.location.capture support in header_filter_by_lua

Posted by xiaojuntime 
ngx.location.capture support in header_filter_by_lua
October 24, 2011 06:01AM

I have a case that after a response from upstream server, I want to generate one subrequest via ngx.location.capture to talk to another internal server, but it's not supported as the document says:
For now, the following Nginx Lua APIs are disabled in this context:
• Subrequest APIs (e.g., ngx.location.capture and ngx.location.capture_multi)

I am wondering how much efforts needed to support this or is there any workaround?

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 93
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready