Can Caddy do auth subrequest like nginx?

A core function of nginx is the ability to do a subrequest for auth

The way it works - a request come in - it will be rejected if the subrequest response is 401 or 403

https://nginx.org/en/docs/http/ngx_http_auth_request_module.html

Is this available in the core Caddy application or is a plugin required?

Yep!

4 Likes

That is awesome!

I couldn’t find it - a suggestion is to include in the documentation this is the equivalent of nginx subrequest auth.

This topic was automatically closed after 30 days. New replies are no longer allowed.