From cd37fc84bbc95e2222a2ddfbe6d1eb18ac955e24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Garn=C3=A6s?= Date: Tue, 19 Dec 2023 10:50:47 +0100 Subject: [PATCH] Update routing and redirects - Do not redirect to www - Redirect from HTTP to HTTPS --- .platform/routes.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.platform/routes.yaml b/.platform/routes.yaml index 3f9fe01..1d049e1 100644 --- a/.platform/routes.yaml +++ b/.platform/routes.yaml @@ -3,11 +3,10 @@ # Each route describes how an incoming URL is going # to be processed by Platform.sh. -"https://www.{default}/": +"https://{default}/": type: upstream upstream: "app:http" -"https://{default}/": +"http://{default}/": type: redirect - to: "https://www.{default}/" - + to: "https://{default}/"