更新生产环境部署配置,使用Traefik代理

This commit is contained in:
2026-04-12 16:04:12 +08:00
parent 666cb2a3a6
commit e4f21f3a69
Vendored
+1 -1
View File
@@ -35,7 +35,7 @@ pipeline {
--restart=always \\ --restart=always \\
-e SPRING_PROFILES_ACTIVE=prod \\ -e SPRING_PROFILES_ACTIVE=prod \\
--label "traefik.enable=true" \\ --label "traefik.enable=true" \\
--label "traefik.http.routers.lpt-api.rule=Host(\`lpt.cat-shark.xyz\`) && PathPrefix(\`/api\`)" \\ --label 'traefik.http.routers.lpt-api.rule=Host(`lpt.cat-shark.xyz`) && PathPrefix(`/api`)' \\
--label "traefik.http.routers.lpt-api.entrypoints=websecure" \\ --label "traefik.http.routers.lpt-api.entrypoints=websecure" \\
--label "traefik.http.routers.lpt-api.tls.certresolver=le" \\ --label "traefik.http.routers.lpt-api.tls.certresolver=le" \\
--label "traefik.http.routers.lpt-api.priority=100" \\ --label "traefik.http.routers.lpt-api.priority=100" \\