chore: update platform.sh file (#3831)

This commit is contained in:
Alexis Saettler
2020-04-12 22:56:39 +02:00
committed by GitHub
parent 91597533da
commit 8c3cc9e9f2
2 changed files with 13 additions and 3 deletions
+1
View File
@@ -26,6 +26,7 @@ hooks:
curl -sL https://sentry.io/get-cli/ | INSTALL_DIR=${SENTRY_ROOT:-/app/vendor/bin} bash
deploy: |
set -evx
rm -f bootstrap/cache/*.php
php artisan monica:update --force --skip-storage-link -vvv
# The relationships of the application with services or other applications.
+12 -3
View File
@@ -3,9 +3,18 @@
# 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}/":
"https://www.{default}/":
type: redirect
to: "https://www.{default}/"
to: "https://{default}/"
"https://{default}/.well-known/carddav":
type: redirect
to: "https://{default}/dav"
"https://{default}/.well-known/caldav":
type: redirect
to: "https://{default}/dav"
"https://{default}/.well-known/security.txt":
type: redirect
to: "https://{default}/security.txt"