fix: file upload size limit (#1218)
This commit is contained in:
parent
fae9d8cdc1
commit
705371eaf3
5 changed files with 46 additions and 33 deletions
26
nginx/nginx.conf.template
Normal file
26
nginx/nginx.conf.template
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
events { }
|
||||
|
||||
|
||||
http {
|
||||
sendfile on;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
root /www/data/;
|
||||
access_log /var/log/nginx/access.log;
|
||||
|
||||
client_max_body_size ${FILE_SIZE_LIMIT};
|
||||
|
||||
location / {
|
||||
proxy_pass http://planefrontend:3000/;
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://planebackend:8000/api/;
|
||||
}
|
||||
|
||||
location /${BUCKET_NAME}/ {
|
||||
proxy_pass http://plane-minio:9000/uploads/;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue