Skip to content

Commit

Permalink
Update routing and redirects
Browse files Browse the repository at this point in the history
- Do not redirect to www
- Redirect from HTTP to HTTPS
  • Loading branch information
kasperg committed Dec 19, 2023
1 parent 0870fea commit cd37fc8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .platform/routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}/"

0 comments on commit cd37fc8

Please sign in to comment.