nginx - how to get 401 instead of 302

Cantor, Scott cantor.2 at
Thu Oct 27 16:35:55 UTC 2022

>However, I am clueless about how to accomplish this in Nginx. I have
> tried several approaches already, but no luck.

Exactly the same way, modulo that obviously there are no Apache settings, which I assume you had to have already realized.

You have to be using the RequestMap already to get anything working, so I'm not sure what else you're looking for. The Apache content settings are all implemented as a subclassing/override of the RequestMap to begin with.

-- Scott

More information about the users mailing list