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

This commit is contained in:
2026-04-12 16:01:10 +08:00
parent 932ea06ce3
commit 666cb2a3a6
Vendored
+1 -1
View File
@@ -35,7 +35,7 @@ pipeline {
--restart=always \\
-e SPRING_PROFILES_ACTIVE=prod \\
--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.tls.certresolver=le" \\
--label "traefik.http.routers.lpt-api.priority=100" \\