From 6baf03371c379437bf29860672d8a00f399b3f9f Mon Sep 17 00:00:00 2001 From: Akatsukiro Date: Tue, 16 Jan 2024 15:04:50 +0800 Subject: [PATCH] =?UTF-8?q?modify:=20=E4=BC=98=E5=8C=96=20Apache=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 80fb92a..54b99d6 100644 --- a/install.sh +++ b/install.sh @@ -165,12 +165,17 @@ setup_apache() { ServerName ${domain} DocumentRoot /var/www/lsky/public + DirectoryIndex index.php + + ErrorLog \${APACHE_LOG_DIR}/lsky_error.log + CustomLog \${APACHE_LOG_DIR}/lsky_access.log combined + + Options FollowSymLinks AllowOverride All Require all granted - ErrorLog \${APACHE_LOG_DIR}/lsky_error.log - CustomLog \${APACHE_LOG_DIR}/lsky_access.log combined + EOF a2ensite lsky.conf