Skip to content

Commit acce286

Browse files
jaapmarcusScIT-Raphael
authored andcommitted
Changed group and permissions
1 parent b41ff7b commit acce286

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ else
7070
echo 'RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]' >> $forcessl
7171
fi
7272

73+
chown root:$user $forcessl
74+
chmod 640 $forcessl
7375

7476
#----------------------------------------------------------#
7577
# Hestia #

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ fi
5656

5757
echo 'add_header Strict-Transport-Security "max-age=15768000;" always;' > $hstsconf
5858

59+
chown root:$user $hstsconf
60+
chmod 640 $hstsconf
5961

6062
#----------------------------------------------------------#
6163
# Hestia #

0 commit comments

Comments
 (0)