Skip to content

Commit 7a1edac

Browse files
authored
Increase HSTS max-age to 31536000 (hestiacp#3782)
Adjust for new recommandations.
1 parent 31aa282 commit 7a1edac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-web-domain-ssl-hsts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ else
5656
hstsconf="$HOMEDIR/$user/conf/web/$domain/$PROXY_SYSTEM.hsts.conf"
5757
fi
5858

59-
echo 'add_header Strict-Transport-Security "max-age=15768000;" always;' > $hstsconf
59+
echo 'add_header Strict-Transport-Security "max-age=31536000;" always;' > $hstsconf
6060

6161
chown root:$user $hstsconf
6262
chmod 640 $hstsconf

0 commit comments

Comments
 (0)