mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
Add local file upload interfaces (#489)
* Add the alibaba cloud oss plugin * Update oss plugin struct * Add local upload
This commit is contained in:
@@ -81,6 +81,7 @@ services:
|
||||
volumes:
|
||||
- ../nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- fba_static:/www/fba_server/backend/static
|
||||
- fba_static_upload:/www/fba_server/backend/static/upload
|
||||
networks:
|
||||
- fba_network
|
||||
|
||||
|
||||
@@ -48,4 +48,8 @@ server {
|
||||
location /static {
|
||||
alias /www/fba_server/backend/static;
|
||||
}
|
||||
|
||||
location /static/upload {
|
||||
alias /www/fba_server/backend/static/upload;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user