Merge branch 'master' of github.com:TristanAncelet/WebCron

This commit is contained in:
Tristan Ancelet 2023-05-20 20:56:00 +00:00
commit bd402ac33d

View File

@ -26,7 +26,10 @@ declare -a needed_packages=(
# Webserver packages # Webserver packages
firewalld firewalld
apache2 apache2
# Necessary packages for php
php php
php-sqlite3
# Filesystem Management # Filesystem Management
acl acl
@ -145,6 +148,8 @@ if [[ ! "$ALLOWED_ACCESS_CONFIG" =~ ^$IP_REGEX$ ]]; then
exit 1 exit 1
fi fi
site_config_file=/etc/apache2/sites-available/webcron.conf site_config_file=/etc/apache2/sites-available/webcron.conf
site_config=" site_config="
# Redirecting all http traffic to https # Redirecting all http traffic to https