getmeli / meli

Platform for deploying static sites and frontend applications easily. Automatic SSL, deploy previews, reverse proxy, and more.
Other
2.4k stars 97 forks source link

Is it possible to redirect www to non www in Meli? #235

Open tanc opened 3 years ago

tanc commented 3 years ago

I don't fully understand the redirects settings but is it possible to add a redirect for www traffic to non www?

pimartin commented 3 years ago

Hi, It's currently not possible. The redirects settings allow the user to point specific paths to a given file or to a backend (reverse proxy). The name isn't very clear for their current functions.

We could add a "real" redirection option. We would need to fix another issue though: the sites branches are not configured in Caddy if there is no release.