pass check
This commit is contained in:
parent
3935d18c0b
commit
e3b2559439
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue