From 186b2d546f2998a501d965b41c0d7ea8bbf1b133 Mon Sep 17 00:00:00 2001 From: Benjamin Wenzel Date: Tue, 11 Jun 2024 12:17:12 +0000 Subject: [PATCH] Update readme about proxy config --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 211e268..9854543 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,8 @@ frontend you-name-it # circumvent oauth2 proxy for programmatic access acl is_basic_auth hdr_beg(Authorization) -i basic - # clients often send a HEAD request without Authorization header first - # and this must reach nexus directly, else the OAuth2 dance starts - acl is_head method HEAD - use_backend nexus if is_basic_auth OR is_head + acl is_repo_req path_beg /repository/ + use_backend nexus if is_basic_auth OR is_repo_req default_backend oauth2-proxy