make session ticket management more generic

This commit is contained in:
Daniel Micay 2025-05-27 13:36:27 -04:00
parent 3e407eac80
commit 44f6e6021a
10 changed files with 30 additions and 30 deletions

View file

@ -1,13 +0,0 @@
#!/bin/bash
set -o errexit -o nounset -o pipefail
cd /etc/nginx/session-ticket-keys
rsync -I 2.key 1.key
rsync -I 3.key 2.key
rsync -I 4.key 3.key
head -c 80 </dev/random >new.key
rsync -I new.key 4.key
rm new.key
nginx -s reload