实现 nacos + traefik,改了很多东西!!!

This commit is contained in:
编码猿
2025-09-22 02:27:53 +08:00
parent e038fdb965
commit dabb91ef1e
71 changed files with 27668 additions and 189 deletions

View File

@@ -0,0 +1,16 @@
# 启用 Dashboard
api:
dashboard: true
insecure: true # 开发环境允许HTTP访问
# 入口点配置
entryPoints:
web:
address: ":80" # 监听80端口Web 流量
# 服务发现与配置源(关键:子项缩进必须一致)
providers:
# 动态路由规则文件
file:
filename: "/etc/traefik/dynamic.yml"
watch: true # 自动监听文件变化