update 文件上传服务完成

This commit is contained in:
yyb
2025-04-17 17:47:03 +08:00
parent bcdbb2b538
commit de4788319b
4 changed files with 14 additions and 13 deletions

View File

@@ -1,18 +1,19 @@
# Tomcat
server:
port: 9300
port: 9504
# Spring
spring:
application:
# 应用名称
name: m2pool-file
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 127.0.0.1:8808
namespace: m2_test
group: m2_test_group
config:
# 配置中心地址
server-addr: 127.0.0.1:8808
@@ -22,8 +23,8 @@ spring:
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
file:
domain: https://www.m2pool.com
path: /var/www/html/web-test
domain: https://test.m2pool.com
path: /var/www/html/web_test
# img: /img
filepath: /home/ubuntu/web
prefix: /statics