Main, MariaDB & Deb11; CMS:Backend
Main, MariaDB: Switched form MariaDB back to MySQL since it is available for Deb11 Main, Debian 11 Enabled Debian 11 support, and removed warnings CMS:Backend increased limits PHP: post_max to 256M Nginx: client_max_body to 256m and fcgi_timeout to 10 minutes
This commit is contained in:
@@ -8,7 +8,7 @@ php_admin_value[disable_functions] = exec,passthru,shell_exec,system
|
|||||||
php_admin_value[opcache.enable] = 0
|
php_admin_value[opcache.enable] = 0
|
||||||
php_admin_value[max_input_vars] = 5000
|
php_admin_value[max_input_vars] = 5000
|
||||||
php_admin_value[upload_max_filesize] = 256M
|
php_admin_value[upload_max_filesize] = 256M
|
||||||
php_admin_value[post_max_size] = 16M
|
php_admin_value[post_max_size] = 256M
|
||||||
php_admin_value[max_input_time] = 15
|
php_admin_value[max_input_time] = 15
|
||||||
php_admin_value[cgi.fix_pathinfo] = 0
|
php_admin_value[cgi.fix_pathinfo] = 0
|
||||||
php_admin_value[allow_url_fopen] = Off
|
php_admin_value[allow_url_fopen] = Off
|
||||||
|
|||||||
@@ -24,12 +24,14 @@ location = /backend/netdata {
|
|||||||
location /backend/database {
|
location /backend/database {
|
||||||
deny all; #enables/disables PHPMyadmin
|
deny all; #enables/disables PHPMyadmin
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
client_max_body_size 256m;
|
||||||
alias /usr/share/phpmyadmin;
|
alias /usr/share/phpmyadmin;
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_pass unix:/var/run/php/phpPHPver-fpm-Backend.sock;
|
fastcgi_pass unix:/var/run/php/phpPHPver-fpm-Backend.sock;
|
||||||
|
fastcgi_read_timeout 10m;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,8 +13,7 @@ printf '%s' "Updating Web-V2..."
|
|||||||
CompatVer=$UpdaterCompatTo
|
CompatVer=$UpdaterCompatTo
|
||||||
|
|
||||||
#Updating mod lists
|
#Updating mod lists
|
||||||
#Temporarily for Testing since not avalible#aonoption="/MySQL/"
|
aonoption="/MySQL/"
|
||||||
aonoption="/MariaDB/" #Temporarily replaceing MySQL
|
|
||||||
aonoption="$aonoption /Unattended-Security-Updates/"
|
aonoption="$aonoption /Unattended-Security-Updates/"
|
||||||
aonoption="$aonoption /Backup-Util/"
|
aonoption="$aonoption /Backup-Util/"
|
||||||
aonoption="$aonoption /AcmeSH/"
|
aonoption="$aonoption /AcmeSH/"
|
||||||
|
|||||||
@@ -71,8 +71,6 @@ elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"11"* ]]; then
|
|||||||
PKGI="${PKGM} install -y --no-install-recommends"
|
PKGI="${PKGM} install -y --no-install-recommends"
|
||||||
PKGLIST="apt"
|
PKGLIST="apt"
|
||||||
shortdist=deb11
|
shortdist=deb11
|
||||||
echo "Support for this os is stil being developed, Exiting"
|
|
||||||
exit
|
|
||||||
elif [ "$(grep -oP '(?<=^PLATFORM_ID=).+' /etc/os-release | tr -d '"')" = "platform:el8" ]; then
|
elif [ "$(grep -oP '(?<=^PLATFORM_ID=).+' /etc/os-release | tr -d '"')" = "platform:el8" ]; then
|
||||||
PKGM="dnf"
|
PKGM="dnf"
|
||||||
PKGUC="$PKGM check-update --refresh"
|
PKGUC="$PKGM check-update --refresh"
|
||||||
@@ -108,8 +106,7 @@ fi
|
|||||||
# Always-on modules #
|
# Always-on modules #
|
||||||
##---------------------##
|
##---------------------##
|
||||||
|
|
||||||
#Temporarily for Testing since not avalible#aonoption="/MySQL/"
|
aonoption="/MySQL/"
|
||||||
aonoption="/MariaDB/" #Temporarily replaceing MySQL
|
|
||||||
aonoption="$aonoption /Unattended-Security-Updates/"
|
aonoption="$aonoption /Unattended-Security-Updates/"
|
||||||
aonoption="$aonoption /Backup-Util/"
|
aonoption="$aonoption /Backup-Util/"
|
||||||
aonoption="$aonoption /AcmeSH/"
|
aonoption="$aonoption /AcmeSH/"
|
||||||
|
|||||||
Reference in New Issue
Block a user