2022-05-07 20:53:18 +00:00
|
|
|
listen 3000;
|
|
|
|
client_max_body_size 50M; # default is 1M
|
2024-08-03 22:34:39 +00:00
|
|
|
|
|
|
|
# Mastodon needs to allow all clients to access stuff.
|
|
|
|
# This can be tweaked to only allow images/videos and certain HTTP methods like
|
|
|
|
# add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS';
|
|
|
|
# add_header 'Access-Control-Allow-Headers' 'Range';
|
|
|
|
# add_header 'Accept-Ranges' 'bytes';
|
|
|
|
add_header Access-Control-Allow-Origin *;
|