Use wasabi instead of linode

This commit is contained in:
jaina heartles 2024-03-03 12:02:50 -08:00
parent 0759c03931
commit d9ccdc2141

View file

@ -100,11 +100,18 @@ in {
'';
locations."/".extraConfig = ''
set $bucket rub-um5oh2ac4yi9c2mf.misskey.egirls.gay;
set $region us-east-1;
# set $bucket rub-um5oh2ac4yi9c2mf.misskey.egirls.gay;
# set $region us-east-1;
# set $url linodeobjects.com;
set $bucket egirls-gay-misskey;
set $region us-west-1;
set $url wasabisys.com;
set $path /egirls-gay-misskey/;
proxy_pass https://storage.us-east-1.linodeobjects.com;
proxy_set_header Host $bucket.us-east-1.linodeobjects.com;
#proxy_pass https://storage.us-east-1.linodeobjects.com;
#proxy_set_header Host $bucket.us-east-1.linodeobjects.com;
proxy_pass https://$bucket.$region.$url$path;
proxy_set_header Host $bucket.$region.$url$path;
proxy_http_version 1.1;
proxy_redirect off;
proxy_intercept_errors on;