Francis Daly
April 28, 2013 07:22AM
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 want
to have both "auth_basic" and "uwsgi_pass".

In the one location that handles the request "/not-foo/something", you
want to have "uwsgi_pass" but not "auth_basic".

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

basic_auth for parts of uwsgi

Christoph Egger April 28, 2013 07:08AM

Re: basic_auth for parts of uwsgi

Francis Daly April 28, 2013 07:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 214
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready