Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traefik: introduce domain redirect (1st version) #925

Conversation

YuryHrytsuk
Copy link
Collaborator

@YuryHrytsuk YuryHrytsuk commented Jan 7, 2025

What do these changes do?

  • Introduce logic to perform domain redirect

This is a quick solution to achieve #875 on time. This will be properly finished in #926

Related issue/s

Related PR/s

Checklist

  • I tested and it works

Copy link
Member

@mrnicegyu11 mrnicegyu11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks very good, I would love to see this used everywhere actually. In the future maybe Thanks a lot very good effort!

services/traefik/docker-compose.yml.j2 Outdated Show resolved Hide resolved
services/traefik/j2cli_customization.py Show resolved Hide resolved
services/traefik/docker-compose.yml.j2 Show resolved Hide resolved
services/traefik/docker-compose.yml.j2 Outdated Show resolved Hide resolved
@YuryHrytsuk YuryHrytsuk changed the title Traefik: introduce domain redirect Traefik: introduce domain redirect (1st version) Jan 7, 2025
@YuryHrytsuk
Copy link
Collaborator Author

Here is a discussion on traefik forum how to achieve redirect and keep all subdomains

https://community.traefik.io/t/the-best-way-to-implement-global-redirect-to-another-domain-including-any-possible-nested-subdomains-and-paths/25875

@YuryHrytsuk YuryHrytsuk merged commit f9077d3 into ITISFoundation:main Jan 8, 2025
2 of 3 checks passed
@YuryHrytsuk YuryHrytsuk deleted the introduce-traefik-domain-redirect-functionality branch January 8, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants