mirror of
https://github.com/akatsukiro/lsky-pro-install-script.git
synced 2025-06-08 05:04:33 +08:00
modify: 优化 Apache 配置文件
This commit is contained in:
parent
bf495185ff
commit
6baf03371c
@ -165,12 +165,17 @@ setup_apache() {
|
||||
<VirtualHost *:80>
|
||||
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
|
||||
|
||||
<Directory /var/www/lsky/public>
|
||||
Options FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
ErrorLog \${APACHE_LOG_DIR}/lsky_error.log
|
||||
CustomLog \${APACHE_LOG_DIR}/lsky_access.log combined
|
||||
|
||||
</VirtualHost>
|
||||
EOF
|
||||
a2ensite lsky.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user