On Fri, Oct 13, 2017 at 11:39:50AM -0500, Stian Øvrevåge wrote:
Hi there,
> Quick follow-up. I tried negating the 401 redirect at the /api/
> endpoint but got an error:
>
> named location "@error401" can be on the server level only
>
> Any suggestion on how I can enforce a side-wide redir
Quick follow-up. I tried negating the 401 redirect at the /api/
endpoint but got an error:
named location "@error401" can be on the server level only
Any suggestion on how I can enforce a side-wide redirect to /security/
except the 2-3 endpoints that have basic auth?
Br,
Stian
On 13 Octob
Thanks a bunch. When still being redirected now I found the culprit:
location @error401 {
return 302 /security/;
}
Which of course will redirect before auth basic will work.
Thanks again and pardon my ignorance :o
Br,
Stian
On 13 October 2017 at 04:14, Maxim Dounin wr
On Thu, Oct 12, 2017 at 10:37:11PM +0300, Reinis Rozitis wrote:
>> This is my current vhost for the webdav access on the nginx rev. proxy:
>[..]
>> If I switch the vhost to listen on port 80 without ssl, everything is
>> fine and files can be renamed or moved via webdav.
>
>If it works on http but
Hello!
On Fri, Oct 13, 2017 at 12:47:11AM -0500, Stian Øvrevåge wrote:
> Hi list,
>
> I have a server {} block that is protected with auth_request; on the top
> level.
>
> auth_request is used for a interactive login process.
>
> I have some endpoints that will receive data from other softwar