Hi, Nginx forbids returning 407 (Proxy Authorization Required). If we allow it, we can play with headers and make it a regular http proxy.
With some nginx external modules like ngx-lua, we could even debug mobile apps, or http traffic Regards, Rai PS: It's my first email/patch here. I'm sorry if there's any convention I'm not following. I tried my best :) -- Raimon Grau 3scale Networks
exporting patch: # HG changeset patch # User Raimon Grau <[email protected]> # Date 1383127132 -3600 # Node ID d53f43103bdadb2afbd79062ab1094d0ce375158 # Parent e6a1623f87bc96d5ec62b6d77356aa47dbc60756 Allow returning status 407 (Proxy Authentication Required) diff -r e6a1623f87bc -r d53f43103bda src/http/ngx_http_header_filter_module.c --- a/src/http/ngx_http_header_filter_module.c Mon Oct 21 18:20:32 2013 +0800 +++ b/src/http/ngx_http_header_filter_module.c Wed Oct 30 10:58:52 2013 +0100 @@ -85,7 +85,7 @@ ngx_string("404 Not Found"), ngx_string("405 Not Allowed"), ngx_string("406 Not Acceptable"), - ngx_null_string, /* "407 Proxy Authentication Required" */ + ngx_string("407 Proxy Authentication Required"), ngx_string("408 Request Time-out"), ngx_string("409 Conflict"), ngx_string("410 Gone"),
_______________________________________________ nginx-devel mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx-devel
