nginx-rotate-session-ticket-keys: drop unnecessary time sync

This commit is contained in:
Daniel Micay 2024-03-03 09:57:30 -05:00
parent fb8775bb85
commit 14174e90f4

View File

@ -6,10 +6,10 @@ umask 077
cd /etc/nginx/session-ticket-keys cd /etc/nginx/session-ticket-keys
rsync -It 2.key 1.key rsync -I 2.key 1.key
rsync -It 3.key 2.key rsync -I 3.key 2.key
rsync -It 4.key 3.key rsync -I 4.key 3.key
openssl rand -out new.key 80 openssl rand -out new.key 80
rsync -It new.key 4.key rsync -I new.key 4.key
rm new.key rm new.key
nginx -s reload nginx -s reload