Skip to content

Commit

Permalink
eos: Use the mount point instead of web redirector
Browse files Browse the repository at this point in the history
  • Loading branch information
psaiz committed Oct 8, 2024
1 parent 853b55a commit 42ff450
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions nginx/localhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,8 @@ server {

# Old reverse proxy to EOS locations used from COD2 times. (Not advertised
# much in COD3 times anymore, but still useful to have.)
location ~* /eos/opendata/(alice|atlas|cms|delphi|jade|lhcb|opera|phenix)/.*\.[a-zA-Z0-9]+$ {
proxy_cache off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass https://eospublichttp.cern.ch;
location /eos/opendata/ {
alias /eos/opendata/;
}

# Cache any URL that has '/files/' pattern in it.
Expand Down

0 comments on commit 42ff450

Please sign in to comment.