Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pantheon.upstream.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# IMPORTANT NOTE:
# Do not edit this file unless you are doing so in your custom upstream repository.
# Override the defaults specified here in a site-specific `pantheon.yml` file.
# For more information see: https://pantheon.io/docs/pantheon-upstream-yml
api_version: 1
web_docroot: true
# See https://pantheon.io/docs/pantheon-yml/#enforce-https--hsts for valid values.
enforce_https: transitional
php_version: 8.1
php_version: 8.2
database:
version: 10.4
build_step: true
Expand Down
30 changes: 30 additions & 0 deletions pantheon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This has local overrides of the upstream defaults found in pantheon.upstream.yml. Changes should be made here, and not
# to pantheon.upstream.yml.
api_version: 1

web_docroot: true

# See https://pantheon.io/docs/pantheon-yml/#enforce-https--hsts for valid values.
enforce_https: transitional

php_version: 8.2

# See https://pantheon.io/docs/pantheon-yml#specify-a-version-of-mariadb
database:
version: 10.4

build_step: true

filemount: /app/uploads

# See https://pantheon.io/docs/pantheon-yml#protected-web-paths for usage.
protected_web_paths:
- /app/uploads/private/
- /private/
- /xmlrpc.php

# By default, any 'protected_web_paths' added to the pantheon.yml file
# are combined with the paths from the pantheon.upstream.yml file. If
# 'protected_web_paths_override' is set to true, then the upstream paths
# are disabled.
protected_web_paths_override: false