Skip to content

Commit

Permalink
Try to fix deployment 😭
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek- committed Nov 22, 2019
1 parent 05a2015 commit feb915d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .symfony.cloud.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: AFSY
name: afsy

type: php:7.3

Expand Down
10 changes: 8 additions & 2 deletions .symfony/routes.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
"https://{all}/": { type: upstream, upstream: "website:http" }
"http://{all}/": { type: redirect, to: "https://{all}/" }
"http://{all}/":
type: redirect
# Redirect from HTTP to HTTPS
to: "https://{all}/"

"https://{all}/":
type: upstream
upstream: "afsy:http"

0 comments on commit feb915d

Please sign in to comment.