mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +00:00
update
This commit is contained in:
parent
d11a162f97
commit
cbaa87ebd9
6 changed files with 42 additions and 1 deletions
|
@ -30,6 +30,9 @@ DEPENDENCIES_LIST=(
|
|||
"libcurl4-openssl-dev"
|
||||
"libsodium23"
|
||||
"libpq5"
|
||||
"apache2"
|
||||
"libapache2-mod-ruid2"
|
||||
"libapache2-mod-php"
|
||||
"libssl-dev"
|
||||
"zlib1g-dev"
|
||||
)
|
||||
|
@ -41,6 +44,17 @@ done
|
|||
# Start MySQL
|
||||
service mysql start
|
||||
|
||||
# Apache modules
|
||||
a2enmod actions
|
||||
a2enmod ssl
|
||||
a2enmod ruid2
|
||||
a2enmod env
|
||||
a2enmod deflate
|
||||
a2enmod expires
|
||||
a2enmod rewrite
|
||||
a2enmod cgi
|
||||
systemctl restart apache2
|
||||
|
||||
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/ubuntu-20.04/greeting.sh
|
||||
mv greeting.sh /etc/profile.d/phyre-greeting.sh
|
||||
|
||||
|
|
|
@ -30,6 +30,9 @@ DEPENDENCIES_LIST=(
|
|||
"libcurl4-openssl-dev"
|
||||
"libsodium23"
|
||||
"libpq5"
|
||||
"apache2"
|
||||
"libapache2-mod-ruid2"
|
||||
"libapache2-mod-php"
|
||||
"libssl-dev"
|
||||
"zlib1g-dev"
|
||||
)
|
||||
|
@ -41,6 +44,18 @@ done
|
|||
# Start MySQL
|
||||
service mysql start
|
||||
|
||||
# Apache modules
|
||||
a2enmod actions
|
||||
a2enmod ssl
|
||||
a2enmod ruid2
|
||||
a2enmod env
|
||||
a2enmod deflate
|
||||
a2enmod expires
|
||||
a2enmod rewrite
|
||||
a2enmod cgi
|
||||
|
||||
systemctl restart apache2
|
||||
|
||||
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/ubuntu-22.04/greeting.sh
|
||||
mv greeting.sh /etc/profile.d/phyre-greeting.sh
|
||||
|
||||
|
|
BIN
web/Modules/LetsEncrypt/Actions/acmephp.phar
Normal file
BIN
web/Modules/LetsEncrypt/Actions/acmephp.phar
Normal file
Binary file not shown.
9
web/Modules/LetsEncrypt/Actions/acmephp.phar.pubkey
Normal file
9
web/Modules/LetsEncrypt/Actions/acmephp.phar.pubkey
Normal file
|
@ -0,0 +1,9 @@
|
|||
-----BEGIN PUBLIC KEY-----
|
||||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArRmu5WOZsz50RBvtUU05
|
||||
wZ66jQrAjmJ4t9Kj2+iaynX5OY05d9dH9v+JF9x6dCo+D6dSJLcAyA4/Cosq3TW/
|
||||
rDVSY9eIUsuxr4OlmguFLfHa9vML9Ot1f/z/4uxXhUuG1w15TkqhIvxbHdMes0mH
|
||||
5nA54uHVki5RSQrN08ebawBkxRbp/gG7qvMPxNhBdyTwZ6T7TUJSDWqZYzS6XcjR
|
||||
F1qzOhucAo1lqT7B2XBGYdsEHngZNTVlc4VAdj2ZajOSJdEYsOoxXGV20JFS22lr
|
||||
I1a4Sp6jm9stBuagttfsI5c2kTplfpMbGEDsj+jeNwY7rFfghy4d0G1xZQKarcBO
|
||||
iQIDAQAB
|
||||
-----END PUBLIC KEY-----
|
|
@ -70,7 +70,8 @@ class ApacheBuild implements ShouldQueue
|
|||
}
|
||||
|
||||
$apache2 = view('actions.samples.ubuntu.apache2-conf-build', [
|
||||
'virtualHosts' => $virtualHosts
|
||||
'virtualHosts' => $virtualHosts,
|
||||
'serverName' => setting('general.master_domain') ?? 'localhost',
|
||||
])->render();
|
||||
|
||||
$apache2 = preg_replace('~(*ANY)\A\s*\R|\s*(?!\r\n)\s$~mu', '', $apache2);
|
||||
|
|
|
@ -11,6 +11,8 @@ KeepAlive On
|
|||
MaxKeepAliveRequests 100
|
||||
KeepAliveTimeout 5
|
||||
|
||||
ServerName {{ $serverName }}
|
||||
|
||||
User ${APACHE_RUN_USER}
|
||||
Group ${APACHE_RUN_GROUP}
|
||||
|
||||
|
|
Loading…
Reference in a new issue