mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 13:45:02 -05:00
15 lines
264 B
Bash
Executable File
15 lines
264 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
umask 077
|
|
|
|
mkdir -p /etc/nginx/session-ticket-keys
|
|
mount -t ramfs -o mode=700 ramfs /etc/nginx/session-ticket-keys
|
|
|
|
cd /etc/nginx/session-ticket-keys
|
|
|
|
for i in {1..4}; do
|
|
head -c 80 </dev/random >$i.key
|
|
done
|