fix the proxy pass destination

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-26 12:48:49 +01:00
parent e1e6d131aa
commit 9dc9b308a4
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -32,7 +32,7 @@
limit_except GET {
deny all;
}
proxy_set_header Host 's3.us-west-000.backblazeb2.com';
proxy_set_header Host 'f000.backblazeb2.com';
proxy_set_header Connection ${"''"};
proxy_set_header Authorization ${"''"};
proxy_hide_header Set-Cookie;
@ -56,7 +56,7 @@
add_header 'Access-Control-Allow-Origin' '*';
add_header X-Cache-Status $upstream_cache_status;
'';
proxyPass = "https://s3.us-west-000.backblazeb2.com";
proxyPass = "https://f000.backblazeb2.com/file/mastodon-chir-rs/";
};
};
services.nginx.appendHttpConfig = ''