pass check

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-26 09:44:10 +01:00
parent 3935d18c0b
commit e3b2559439
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -33,6 +33,7 @@
deny all;
}
proxy_set_header Host 's3.us-west-000.backblazeb2.com';
set $s3_backend 'https://YOUR_BUCKET_NAME.YOUR_S3_HOSTNAME';
proxy_set_header Connection \'\';
proxy_set_header Authorization \'\';
proxy_hide_header Set-Cookie;
@ -46,7 +47,7 @@
proxy_hide_header x-amz-bucket-region;
proxy_hide_header x-amzn-requestid;
proxy_ignore_headers Set-Cookie;
proxy_pass http://s3.us-west-000.backblazeb2.com$uri;
proxy_pass $s3_backend$uri;
proxy_intercept_errors off;
proxy_cache CACHE;
proxy_cache_valid 200 48h;