Follow

如果你的媒体文件上传到了云储存,以下是你云储存nginx设置所需要添加的内容:

server {
client_body_timeout 5s;
client_header_timeout 5s;
listen 443 ssl http2;
listen [::]:443 ssl http2;
...略...
location @S3 {
limit_except GET {
deny all;
}
limit_req zone=one;
limit_conn addr 10;
...略...
}

Sign in to participate in the conversation
Pawoo

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!