更新生产环境部署配置,使用Traefik代理
This commit is contained in:
Vendored
+1
-1
@@ -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" \\
|
||||||
|
|||||||
Reference in New Issue
Block a user