-
-
Notifications
You must be signed in to change notification settings - Fork 0
Option for redirecting to primary domain #205
Copy link
Copy link
Closed
Description
Sometimes when we have multiple domains pointing at a single container we really only want 1 of them to be the canonical domain but still want to respond to multiple hostnames (and generate a certificate as such)
Some applications allow specifying their preferred hostname and doing a redirect if a non-preferred hostname is used, but not all.
For simplicity it would be nice if Cenaturi could have an option to handle this and if a non-primary hostname is hit, redirect to the primary (in this case, we shouldn't also proxy, just a 308 and empty page)
(We could use 2 routes and a separate redirect container (such as https://github.com/greboid/httpredirect) but it would be nicer to be handled at the centauri level)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels