AriStockAI/consul/config/frontend.json
fanfpy dc04f20856 fix(traefik): 修正服务端口注释并更新路由规则为基于域名
将docker-compose.yml中的错误注释修正为服务端口注释
将所有服务的路由规则从PathPrefix改为基于域名的Host规则
移除data-service中不再需要的路径前缀中间件配置
2025-07-06 12:42:38 +08:00

18 lines
431 B
JSON

{
"service": {
"address": "frontend",
"check": {
"http": "http://frontend:80/",
"interval": "10s",
"timeout": "5s"
},
"id": "frontend-1",
"tags": [
"traefik.enable=true",
"traefik.http.routers.frontend.rule=Host(\"aristockai.com\") || Host(\"www.aristockai.com\")",
"traefik.http.routers.frontend.entrypoints=web"
],
"name": "frontend",
"port": 80
}
}