From 39859307709d8655f07226218cd362d758b1dcd3 Mon Sep 17 00:00:00 2001 From: Kamil Samigullin Date: Wed, 27 Jul 2022 08:37:57 +0300 Subject: [PATCH] feat: change some important redirects --- traefik/dynamic/jointo.yml | 24 ++++++++++++------------ traefik/dynamic/lifeos.yml | 8 +++++++- traefik/dynamic/sparkle.yml | 8 +++++++- traefik/dynamic/tact.yml | 10 +++++----- 4 files changed, 31 insertions(+), 19 deletions(-) diff --git a/traefik/dynamic/jointo.yml b/traefik/dynamic/jointo.yml index f823850..e8f88f1 100644 --- a/traefik/dynamic/jointo.yml +++ b/traefik/dynamic/jointo.yml @@ -6,41 +6,41 @@ http: tls: certResolver: letsencrypt middlewares: - - kamilsk-on-cal.com - - kamilsk-on-getmentor - - kamilsk-on-github - - kamilsk-on-linkedin - - kamilsk-on-telegram - - kamilsk-on-twitter + - redirect-to-kamilsk-on-cal.com + - redirect-to-kamilsk-on-getmentor + - redirect-to-kamilsk-on-github + - redirect-to-kamilsk-on-linkedin + - redirect-to-kamilsk-on-telegram + - redirect-to-kamilsk-on-twitter - redirect-parked middlewares: - kamilsk-on-cal.com: + redirect-to-kamilsk-on-cal.com: redirectRegex: regex: ^.*jointo\.space/kamilsk/cal\.com(.*)$ replacement: https://cal.com/kamilsk${1} - kamilsk-on-getmentor: + redirect-to-kamilsk-on-getmentor: redirectRegex: regex: ^.*jointo\.space/kamilsk/getmentor$ replacement: https://getmentor.dev/mentor/kamil-samigullin-612 - kamilsk-on-github: + redirect-to-kamilsk-on-github: redirectRegex: regex: ^.*jointo\.space/kamilsk/github$ replacement: https://github.com/kamilsk - kamilsk-on-linkedin: + redirect-to-kamilsk-on-linkedin: redirectRegex: regex: ^.*jointo\.space/kamilsk/linkedin$ replacement: https://www.linkedin.com/in/kamilsk/ - kamilsk-on-telegram: + redirect-to-kamilsk-on-telegram: redirectRegex: regex: ^.*jointo\.space/kamilsk/telegram$ replacement: https://t.me/kamilsk - kamilsk-on-twitter: + redirect-to-kamilsk-on-twitter: redirectRegex: regex: ^.*jointo\.space/kamilsk/twitter$ replacement: https://twitter.com/ikamilsk diff --git a/traefik/dynamic/lifeos.yml b/traefik/dynamic/lifeos.yml index 81d2f3b..57e1b64 100644 --- a/traefik/dynamic/lifeos.yml +++ b/traefik/dynamic/lifeos.yml @@ -6,4 +6,10 @@ http: tls: certResolver: letsencrypt middlewares: - - redirect-parked + - redirect-to-lifeos-on-github + + middlewares: + redirect-to-lifeos-on-github: + redirectRegex: + regex: .* + replacement: https://github.com/lifeosm diff --git a/traefik/dynamic/sparkle.yml b/traefik/dynamic/sparkle.yml index c69c088..9d45df5 100644 --- a/traefik/dynamic/sparkle.yml +++ b/traefik/dynamic/sparkle.yml @@ -6,4 +6,10 @@ http: tls: certResolver: letsencrypt middlewares: - - redirect-parked + - redirect-to-sparkle-on-github + + middlewares: + redirect-to-sparkle-on-github: + redirectRegex: + regex: .* + replacement: https://github.com/withsparkle diff --git a/traefik/dynamic/tact.yml b/traefik/dynamic/tact.yml index df21c49..7f8cd07 100644 --- a/traefik/dynamic/tact.yml +++ b/traefik/dynamic/tact.yml @@ -6,7 +6,7 @@ http: tls: certResolver: letsencrypt middlewares: - - redirect-tact + - redirect-to-tact-on-github tact-cloud: rule: Host(`cloud.tact.run`) @@ -14,15 +14,15 @@ http: tls: certResolver: letsencrypt middlewares: - - redirect-tact-cloud + - redirect-to-tact-at-okteto middlewares: - redirect-tact: + redirect-to-tact-on-github: redirectRegex: regex: .* - replacement: https://app.tact.run/ + replacement: https://github.com/tact-app - redirect-tact-cloud: + redirect-to-tact-at-okteto: redirectRegex: regex: .* replacement: https://kamilsk.cloud.okteto.net/