Re: basic_auth for parts of uwsgi

2013-04-28 Thread Francis Daly
On Sun, Apr 28, 2013 at 01:05:37PM +0200, Christoph Egger wrote: Hi there, > I'm running a uwsgi application using nginx on /. I would like to add > authentication for /foo/ and /bar/. One request is handled in one location. In the one location that handles the request "/foo/something", you wan

basic_auth for parts of uwsgi

2013-04-28 Thread Christoph Egger
Hi! I have the following problem: I'm running a uwsgi application using nginx on /. I would like to add authentication for /foo/ and /bar/. However neither > location / { > include uwsgi_params; > uwsgi_pass unix:/run/uwsgi/app/something/socket; > } > > location /foo/ { > auth_basic "LOGIN