NGINX basic authentication - redirect to home page on 401 authentication error
Asked Answered
B

0

6

I would like to redirect to my home page again if the authentication failed, since the authentication fails with basic authentication from ngnix even if you press cancel and do not even try to authenticate.

If I do it the way shown in the screenshot it simply loads the page; so redirection works but the authentication and hence the access of the other page does not show up anymore. Do you know anything else I could try?

enter image description here

Boydboyden answered 9/12, 2016 at 15:59 Comment(1)
see here: #42329322Pity

© 2022 - 2024 — McMap. All rights reserved.