Revert "use the s3 bucket url instead"

This reverts commit 7ee99f3317.
This commit is contained in:
Charlotte 🦝 Delenk 2022-04-26 13:01:21 +01:00
parent 828169373a
commit 7f7e30e92b
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -29,7 +29,7 @@
limit_except GET {
deny all;
}
proxy_set_header Host 'mastodon-chir-rs.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;
@ -53,7 +53,7 @@
add_header 'Access-Control-Allow-Origin' '*';
add_header X-Cache-Status $upstream_cache_status;
'';
proxyPass = "https://mastodon-chir-rs.s3.us-west-000.backblazeb2.com";
proxyPass = "https://f000.backblazeb2.com/file/mastodon-chir-rs/";
};
};
services.nginx.appendHttpConfig = ''