clean up session ticket rotation scripts

This commit is contained in:
Daniel Micay 2024-03-20 22:43:26 -04:00
parent f35dc08868
commit e1df22a68f
2 changed files with 4 additions and 5 deletions

View file

@ -9,7 +9,6 @@ mount -t ramfs -o mode=700 ramfs /etc/nginx/session-ticket-keys
cd /etc/nginx/session-ticket-keys
openssl rand -out 1.key 80
openssl rand -out 2.key 80
openssl rand -out 3.key 80
openssl rand -out 4.key 80
for i in {1..4}; do
head -c 80 </dev/random >$i.key
done