> Hello
>
> I have several application servers at the back end.
>
> I want all inbound requests to go through some authentication and
> authorization logic.
>
> I’m wondering is it possible to have a wsgi application that does the auth
> logic, and if the auth logic succeeds, then the request is proxied on to
> some other server (perhaps a remote server or perhaps a local wsgi
> application) for execution?
>
> thanks
>
> as
>
>

You can follow the approach described here:

http://uwsgi-docs.readthedocs.org/en/latest/articles/OffloadingWebsocketsAndSSE.html

The first WSGI app will returns special header instructing the internal
routing subsystem to proxy the request


-- 
Roberto De Ioris
http://unbit.com
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to