ComputeCanada/magic_castle

Define a page_rule to redirect from domain to jupyter

Closed this issue · 0 comments

Currently, the redirect is configured in the reverse proxy. However, this does not work if there is no dns record A for the domains that points to the proxy - otherwise said when login != proxy.

https://support.cloudflare.com/hc/en-us/articles/4729826525965-Configuring-URL-forwarding-or-redirects-with-Page-Rules
https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/page_rule