mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-07-24 07:20:58 -04:00
make session ticket management more generic
This commit is contained in:
parent
3e407eac80
commit
44f6e6021a
10 changed files with 30 additions and 30 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue