Skip to content

Commit c6d2da3

Browse files
committed
Enable hsts and force ssl by default for host cert domain.
1 parent ab59c51 commit c6d2da3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
1111
- Rework Let's Encrypt acme staging to use hestia conform standard.
1212
- Fix if condition, use nginx for Let's Encrypt acme request if present.
1313
- Rework v-add-sys-ip, remove centos/redhat support and rework conditions.
14+
- Enable hsts and force ssl on v-add-letsencrypt-host.
1415

1516
## [1.0.4] - 2019-07-09 - Hotfix
1617
### Bugfixes

bin/v-add-letsencrypt-host

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ fi
7373
# Add certificate to backend
7474
$BIN/v-update-host-certificate $user $domain
7575

76+
# Enable automatic ssl forward and hsts
77+
$BIN/v-add-web-domain-ssl-force $user $domain
78+
$BIN/v-add-web-domain-ssl-hsts $user $domain
79+
7680

7781
#----------------------------------------------------------#
7882
# Hestia #

0 commit comments

Comments
 (0)