From 5ebca4b8355f04f1c26999a54e6fa7a4ad3a75e3 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 8 Oct 2023 21:51:19 +0900 Subject: [PATCH] updated omv-svc01.yml with gitea to codepot redirection rule change --- docker-stack/omv-svc01.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-stack/omv-svc01.yml b/docker-stack/omv-svc01.yml index 2f466d1..22a1139 100644 --- a/docker-stack/omv-svc01.yml +++ b/docker-stack/omv-svc01.yml @@ -123,8 +123,8 @@ services: - traefik.http.services.gitea-service.loadbalancer.server.port=3000 - traefik.http.services.gitea-service.loadbalancer.sticky.cookie=true - traefik.http.services.gitea-service.loadbalancer.sticky.cookie.name=gitea-sticker - - traefik.http.middlewares.gitea-to-codepot-diff-to-file.redirectregex.regex=^https://code.miflux.com/code/diff/(.*)$ - - traefik.http.middlewares.gitea-to-codepot-diff-to-file.redirectregex.replacement=https://cpot.miflux.com/code/file/$${1} + - traefik.http.middlewares.gitea-to-codepot-diff-to-file.redirectregex.regex=^https://code.miflux.com/code/(diff|fulldiff)/(.*)$ + - traefik.http.middlewares.gitea-to-codepot-diff-to-file.redirectregex.replacement=https://cpot.miflux.com/code/file/$${2} - traefik.http.middlewares.gitea-to-codepot.redirectregex.regex=^https://code.miflux.com/code/(.*)$ - traefik.http.middlewares.gitea-to-codepot.redirectregex.replacement=https://cpot.miflux.com/code/$${1} - traefik.http.middlewares.redirect-merisia-benjaminrancourt.redirectregex.permanent=false