Skip to content

Commit c24a0f5

Browse files
committed
Restore of backup did not rebuild the "Forced SSL" and "HSTS" config
hestiacp#1862
1 parent ae12229 commit c24a0f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ All notable changes to this project will be documented in this file.
1313
- Fixed "Allowed IP addresses for API" field with strange behaviour #1866
1414
- Fixed an issue where the "Saved confirmation" was not set due to a redirect #1879
1515
- Increased minimal memory requirements for ClamD / ClamAV. #1840
16-
16+
- Restore of backup did not rebuild the "Forced SSL" and "HSTS" config on new account #1862
1717

1818
## [1.4.2] - Service release
1919

bin/v-restore-user

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ if [ "$web" != 'no' ] && [ ! -z "$WEB_SYSTEM" ]; then
317317
str="$str CUSTOM_DOCROOT='$CUSTOM_DOCROOT' CUSTOM_PHPROOT='$CUSTOM_PHPROOT'"
318318
str="$str REDIRECT='$REDIRECT' REDIRECT_CODE='$REDIRECT_CODE'"
319319
str="$str FASTCGI_CACHE='$FASTCGI_CACHE' FASTCGI_DURATION='$FASTCGI_DURATION'"
320-
str="$str TPL='$TPL' SSL='$SSL' SSL_HOME='$SSL_HOME'"
321-
str="$str LETSENCRYPT='$LETSENCRYPT' FTP_USER='$FTP_USER'"
320+
str="$str TPL='$TPL' SSL='$SSL' SSL_HOME='$SSL_HOME' SSL_HSTS='$SSL_HSTS'"
321+
str="$str SSL_FORCE='$SSL_FORCE' LETSENCRYPT='$LETSENCRYPT' FTP_USER='$FTP_USER'"
322322
str="$str FTP_MD5='$FTP_MD5' FTP_PATH='$FTP_PATH'"
323323
str="$str BACKEND='$BACKEND' PROXY='$PROXY'"
324324
str="$str PROXY_EXT='$PROXY_EXT' STATS='$STATS'"

0 commit comments

Comments
 (0)