This commit is contained in:
qy117121 2023-03-29 10:33:06 +08:00
parent d47d5e8a16
commit f5045b61f6
45 changed files with 324 additions and 4 deletions

4
nginx/s3.stpl Normal file → Executable file
View file

@ -20,7 +20,7 @@ server {
root /home/mastodon/public/system;
set $s3_backend 'https://bucket-name.s3.nl-ams.scw.cloud';
set $s3_backend 'https://184img.s3.nl-ams.scw.cloud';
keepalive_timeout 30;
@ -37,7 +37,7 @@ server {
}
#resolver 9.9.9.9;
proxy_set_header Host 'bucket-name.s3.nl-ams.scw.cloud';
proxy_set_header Host '184img.s3.nl-ams.scw.cloud';
proxy_set_header Connection '';
proxy_set_header Authorization '';
proxy_hide_header Set-Cookie;