diff --git a/.platform/routes.yaml b/.platform/routes.yaml deleted file mode 100644 index f99889ccec3..00000000000 --- a/.platform/routes.yaml +++ /dev/null @@ -1,16 +0,0 @@ -http://www.{default}/: - to: http://{default}/ - type: redirect -http://{default}/: - cache: - cookies: - - '*' - default_ttl: 0 - enabled: true - headers: - - Accept - - Accept-Language - ssi: - enabled: false - type: upstream - upstream: symfonydocs:php diff --git a/.platform.app.yaml b/.symfony.cloud.yaml similarity index 93% rename from .platform.app.yaml rename to .symfony.cloud.yaml index 66f6a036b73..faa3c24780e 100644 --- a/.platform.app.yaml +++ b/.symfony.cloud.yaml @@ -5,10 +5,7 @@ name: symfonydocs # The toolstack used to build the application. -type: "php" - -build: - flavor: "composer" +type: "python:3.7" # The configuration of app when it is exposed to the web. web: @@ -53,7 +50,7 @@ hooks: build: | virtualenv .virtualenv . .virtualenv/bin/activate - # Platform.sh currently sets PIP_USER=1. + # SymfonyCloud currently sets PIP_USER=1. export PIP_USER= pip install pip==9.0.1 wheel==0.29.0 pip install -r _build/.requirements.txt diff --git a/.symfony/routes.yaml b/.symfony/routes.yaml new file mode 100644 index 00000000000..5726a95c62d --- /dev/null +++ b/.symfony/routes.yaml @@ -0,0 +1,11 @@ +https://{default}/: + cache: + cookies: + - '*' + default_ttl: 0 + enabled: true + headers: + - Accept + - Accept-Language + type: upstream + upstream: symfonydocs:http diff --git a/.platform/services.yaml b/.symfony/services.yaml similarity index 100% rename from .platform/services.yaml rename to .symfony/services.yaml