[uWSGI] http proxying in response-route

mathieu lacage mathieu.lacage at alcmeon.com
Wed May 29 20:42:55 UTC 2019


Le mer. 29 mai 2019 à 14:05, mathieu lacage <mathieu.lacage at alcmeon.com> a
écrit :

> By the way, for some reason, if you use offload threads, the above
> configurations (1 and 2) do not work (the client gets a 202). I have not
> yet been able to figure out what is causing this.
>

disableheaders: is what was missing in this case. Here is the final
configuration:

 44 response-route-label = xsendurl
 45 response-route-run = disableheaders:
 46 response-route-run =
http:${SEND_URL_IP},${SEND_URL_HOST},${SEND_URL_PATH_QUERY}
 47 response-route-run = last:

Mathieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.unbit.it/pipermail/uwsgi/attachments/20190529/9d1de1f6/attachment.html>


More information about the uWSGI mailing list