2
0

feat: 图片docker挂载和nginx映射

This commit is contained in:
caiyuchao
2025-02-17 21:22:54 +08:00
parent 5307687454
commit 72a11a6365
2 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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;