chore: update payload size for import (#883)

This commit is contained in:
Nathan.fooo 2024-10-14 23:17:09 +08:00 committed by GitHub
parent ab97b4fab2
commit 1fd57b055d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -130,6 +130,10 @@ http {
add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization, Accept, Client-Version' always;
add_header 'Access-Control-Max-Age' 3600 always;
location /api/import {
client_max_body_size 2G;
}
location ~* ^/api/workspace/([a-zA-Z0-9_-]+)/publish$ {
set $appflowy_cloud appflowy_cloud;
proxy_pass http://$appflowy_cloud:8000;