Skip to content

Commit 1a18775

Browse files
Merge pull request #139 from matyasselmeci/pr/SOFTWARE-5366.optional-x509-user-proxy
Don't require a proxy for a completely unauth cache (SOFTWARE-5366)
2 parents 2c891de + 4f5b67c commit 1a18775

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

configs/xcache/config.d/40-xcache-auth.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@
99
# https://opensciencegrid.org/docs/data/stashcache/overview/
1010

1111
# Proxy cert for reporting and retrieving data from origin servers
12-
setenv X509_USER_PROXY = /run/xcache-auth/x509_proxy
12+
if named stash-cache
13+
# No proxy required for completely unauth access
14+
else
15+
setenv X509_USER_PROXY = /run/xcache-auth/x509_proxy
16+
fi

0 commit comments

Comments
 (0)