Added fixes for last apache update

devel
Alexey Berezhok 21 hours ago
parent cc59572a59
commit bd56dcf5f5

@ -38,7 +38,7 @@ HESTIA_COMMON_DIR="$HESTIA/install/common"
VERBOSE='no'
# Define software versions
HESTIA_INSTALL_VER='1.9.5.rpm-alpha'
HESTIA_INSTALL_VER='1.9.6.rpm-alpha'
# Dependencies
mariadb_v="10.11"
@ -164,7 +164,9 @@ set_default_port() {
write_config_value() {
local key="$1"
local value="$2"
if [ -e $HESTIA/conf/hestia.conf ]; then
echo "$key='$value'" >> $HESTIA/conf/hestia.conf
fi
}
# Sort configuration file values

@ -30,6 +30,8 @@ server {
try_files $uri $uri/ =404;
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass https://%ip%:%web_ssl_port%;
location ~* ^.+\.(ogg|ogv|svg|svgz|swf|eot|otf|woff|woff2|mov|mp3|mp4|webm|flv|ttf|rss|atom|jpg|jpeg|gif|png|webp|ico|bmp|mid|midi|wav|rtf|css|js|jar)$ {
@ -39,6 +41,8 @@ server {
}
location @fallback {
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass https://%ip%:%web_ssl_port%;
}

@ -20,6 +20,8 @@ server {
}
location / {
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass http://%ip%:%web_port%;
}

@ -30,6 +30,9 @@ server {
try_files $uri $uri/ =404;
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass https://%ip%:%web_ssl_port%;
location ~* ^.+\.(ogg|ogv|svg|svgz|swf|eot|otf|woff|woff2|mov|mp3|mp4|webm|flv|ttf|rss|atom|jpg|jpeg|gif|png|webp|ico|bmp|mid|midi|wav|rtf|css|js|jar)$ {
@ -39,6 +42,8 @@ server {
}
location @fallback {
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass https://%ip%:%web_ssl_port%;
}

@ -27,6 +27,8 @@ server {
}
location / {
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass https://%ip%:%web_ssl_port%;
proxy_cache %domain%;
@ -64,6 +66,8 @@ server {
}
location @fallback {
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass https://%ip%:%web_ssl_port%;
}

@ -26,6 +26,8 @@ server {
}
location / {
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass https://%ip%:%web_ssl_port%;
location ~* ^.+\.(%proxy_extensions%)$ {
@ -40,6 +42,8 @@ server {
}
location @fallback {
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass https://%ip%:%web_ssl_port%;
}

@ -26,6 +26,8 @@ server {
}
location / {
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass https://%ip%:%web_ssl_port%;
location ~* ^.+\.(%proxy_extensions%)$ {
@ -40,6 +42,8 @@ server {
}
location @fallback {
proxy_ssl_server_name on;
proxy_ssl_name $host;
proxy_pass https://%ip%:%web_ssl_port%;
}

@ -0,0 +1,23 @@
#!/bin/bash
# Hestia Control Panel upgrade script for target version 1.9.3
#######################################################################################
####### Place additional commands below. #######
#######################################################################################
####### upgrade_config_set_value only accepts true or false. #######
####### #######
####### Pass through information to the end user in case of a issue or problem #######
####### #######
####### Use add_upgrade_message "My message here" to include a message #######
####### in the upgrade notification email. Example: #######
####### #######
####### add_upgrade_message "My message here" #######
####### #######
####### You can use \n within the string to create new lines. #######
#######################################################################################
upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'true'
upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'false'
upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'true'
upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'no'

@ -1,7 +1,7 @@
{
"name": "hestia",
"private": true,
"version": "1.9.5.rpm",
"version": "1.9.6.rpm",
"description": "An open-source Linux web server control panel.",
"repository": "https://github.com/hestiacp/hestiacp",
"license": "GPL-3.0-or-later",

@ -2,8 +2,8 @@
%global _hardened_build 1
Name: hestia
Version: 1.9.5
Release: 4%{dist}
Version: 1.9.6
Release: 1%{dist}
Summary: Hestia Control Panel
Group: System Environment/Base
License: GPLv3
@ -184,6 +184,9 @@ fi
%{_tmpfilesdir}/%{name}.conf
%changelog
* Thu Oct 09 2025 Alexey Berezhok <a@bayrepo.ru> - 1.9.6-1
- Fix error on all web and mail domains after Apache 2.4.64 update
* Thu Jun 05 2025 Alexey Berezhok <a@bayrepo.ru> - 1.9.5-4
- Fixed memory calculation in service list

Loading…
Cancel
Save