mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-07-21 06:03:11 -04:00
add unified session ticket keys file for dnsdist
This commit is contained in:
parent
94a2567b15
commit
6555042a88
2 changed files with 5 additions and 0 deletions
|
@ -7,3 +7,5 @@ cd /etc/session-ticket-keys
|
|||
for i in {1..4}; do
|
||||
head -c 80 </dev/random >$i.key
|
||||
done
|
||||
|
||||
cat {1..4}.key > keys
|
||||
|
|
|
@ -10,4 +10,7 @@ rsync -I 4.key 3.key
|
|||
head -c 80 </dev/random >new.key
|
||||
rsync -I new.key 4.key
|
||||
rm new.key
|
||||
cat {1..4}.key > keys.new
|
||||
rsync -I keys.new keys
|
||||
rm keys.new
|
||||
nginx -s reload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue