add s3
This commit is contained in:
parent
eef74254ac
commit
29c009f3bf
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ server {
|
||||||
|
|
||||||
root /home/mastodon/public/system;
|
root /home/mastodon/public/system;
|
||||||
|
|
||||||
set $s3_backend 'https://img-s.184.im.s3.nl-ams.scw.cloud';
|
set $s3_backend 'https://bucket-name.s3.nl-ams.scw.cloud';
|
||||||
|
|
||||||
keepalive_timeout 30;
|
keepalive_timeout 30;
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
#resolver 9.9.9.9;
|
#resolver 9.9.9.9;
|
||||||
proxy_set_header Host 'img-s.184.im.s3.nl-ams.scw.cloud';
|
proxy_set_header Host 'bucket-name.s3.nl-ams.scw.cloud';
|
||||||
proxy_set_header Connection '';
|
proxy_set_header Connection '';
|
||||||
proxy_set_header Authorization '';
|
proxy_set_header Authorization '';
|
||||||
proxy_hide_header Set-Cookie;
|
proxy_hide_header Set-Cookie;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue