From 9a9f9ebf3699b2d5380f6047843b6cec7f4b48ec Mon Sep 17 00:00:00 2001 From: bunkerity Date: Wed, 20 Jul 2022 13:53:42 +0200 Subject: [PATCH] examples - fix linux-setup.sh for drupal --- examples/drupal/linux-setup.sh | 4 ++-- examples/drupal/variables.env | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/drupal/linux-setup.sh b/examples/drupal/linux-setup.sh index e4c7dea64..d5d60916e 100755 --- a/examples/drupal/linux-setup.sh +++ b/examples/drupal/linux-setup.sh @@ -11,5 +11,5 @@ cp -r /tmp/drupal-9.4.2/* /opt/bunkerweb/www chown -R www-data:nginx /opt/bunkerweb/www find /opt/bunkerweb/www -type d -exec chmod 750 /opt/bunkerweb/www {} \; find /opt/bunkerweb/www -type f -exec chmod 640 /opt/bunkerweb/www {} \; - -systemctl start php-fpm \ No newline at end of file +systemctl start php-fpm +cp variables.env /opt/bunkerweb/variables.env \ No newline at end of file diff --git a/examples/drupal/variables.env b/examples/drupal/variables.env index c1e48ca35..685aa1a74 100644 --- a/examples/drupal/variables.env +++ b/examples/drupal/variables.env @@ -1,7 +1,6 @@ HTTP_PORT=80 HTTPS_PORT=443 DNS_RESOLVERS=8.8.8.8 8.8.4.4 -MULTISITE=yes # Replace with your domain SERVER_NAME=www.example.com DISABLE_DEFAULT_SERVER=yes @@ -11,4 +10,4 @@ USE_GZIP=yes LIMIT_REQ_URL_1=/core/install.php LIMIT_REQ_RATE_1=5r/s LOCAL_PHP=/run/php/php-fpm.sock -LOCAL_PHP_PATH=/opt/bunkerweb/www +LOCAL_PHP_PATH=/opt/bunkerweb/www \ No newline at end of file