feat: 图片docker挂载和nginx映射
This commit is contained in:
@@ -335,6 +335,7 @@ services:
|
||||
- wfc-fe-network
|
||||
- wfc-be-network
|
||||
volumes:
|
||||
- ./wfc/modules/file/upload:/opt/wfc/file/upload
|
||||
- ./nginx/html/dist:/opt/wfc/portal
|
||||
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./nginx/logs:/var/log/nginx
|
||||
|
||||
@@ -21,6 +21,14 @@ http {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
location /kyc {
|
||||
alias /opt/wfc/file/upload;
|
||||
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_localtime on;
|
||||
}
|
||||
|
||||
location /sys {
|
||||
root /opt/wfc/portal;
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
||||
Reference in New Issue
Block a user