mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-07-22 14:30:47 -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
|
for i in {1..4}; do
|
||||||
head -c 80 </dev/random >$i.key
|
head -c 80 </dev/random >$i.key
|
||||||
done
|
done
|
||||||
|
|
||||||
|
cat {1..4}.key > keys
|
||||||
|
|
|
@ -10,4 +10,7 @@ rsync -I 4.key 3.key
|
||||||
head -c 80 </dev/random >new.key
|
head -c 80 </dev/random >new.key
|
||||||
rsync -I new.key 4.key
|
rsync -I new.key 4.key
|
||||||
rm new.key
|
rm new.key
|
||||||
|
cat {1..4}.key > keys.new
|
||||||
|
rsync -I keys.new keys
|
||||||
|
rm keys.new
|
||||||
nginx -s reload
|
nginx -s reload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue