Advertisement
meonacist

Untitled

Feb 28th, 2024
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.42 KB | None | 0 0
  1. location / {
  2.   proxy_set_header Authorization "";
  3.   proxy_set_header Accept-Encoding "";
  4.   proxy_set_header Host logo-teams.s3.eu-central-1.amazonaws.com;
  5.   proxy_intercept_errors on;
  6.   error_page 403 @emptyceph;
  7.   limit_except GET {
  8.            deny  all;
  9.              }  proxy_pass https://logo_teams;
  10.   auth_basic off;
  11.   proxy_cache_key "s3|logo-teams|$uri";
  12.   proxy_cache_valid 1h;
  13.   proxy_cache proxy_cache;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement