Skip to content

Commit

Permalink
Update readme about proxy config
Browse files Browse the repository at this point in the history
  • Loading branch information
tumbl3w33d committed Jun 11, 2024
1 parent 86955bb commit 186b2d5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 186b2d5

Please sign in to comment.