If your request upstreamed to flask can be very few, then you could set
nginx only proxy such path.
for example:
location /path/ {
proxy_pass uwsgi://
}
But if you have a lot of such paths, don't worry about 404 generated by
flask. I think 404 could be faster than any other request, just ignore it.
On Tue, Oct 23, 2012 at 12:34 AM, Jeff Van Voorst
<[email protected]>wrote:
> Greetings,
>
> I am using uWSGI to serve one Flask app via an apache2 reverse proxy from
> port 443 to a uWSGI http socket.
>
> Is there a way to have uWSGI quickly filter/ignore non-existent paths?
>
> Thanks,
>
> Jeff Van Voorst
> ______________________________**_________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/**mailman/listinfo/uwsgi<http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi>
>
--
*吴焱红(Samuel)*
博客: blog.shanbay.com
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi