Skip to content
Snippets Groups Projects
Commit f19985f7 authored by Brian Weaver's avatar Brian Weaver
Browse files

Stop lando from changing file perms

parent 7fe3a4a6
No related branches found
No related tags found
No related merge requests found
...@@ -77,6 +77,8 @@ ...@@ -77,6 +77,8 @@
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml'; $settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml';
} }
else if (PANTHEON_ENVIRONMENT == 'lando') { else if (PANTHEON_ENVIRONMENT == 'lando') {
$settings['skip_permissions_hardening'] = TRUE;
# Force SSL # Force SSL
if(isset($_SERVER['HTTP_X_FORWARDED_PORT']) && $_SERVER['HTTP_X_FORWARDED_PORT'] == '80') { if(isset($_SERVER['HTTP_X_FORWARDED_PORT']) && $_SERVER['HTTP_X_FORWARDED_PORT'] == '80') {
header('HTTP/1.0 301 Moved Permanently'); header('HTTP/1.0 301 Moved Permanently');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment