switch to noswap tmpfs from ramfs for session ticket keys

This commit is contained in:
Daniel Micay 2024-06-28 12:44:31 -04:00
parent ba2540c3fe
commit 84b2193808

View File

@ -5,7 +5,7 @@ set -o errexit -o nounset -o pipefail
umask 077 umask 077
mkdir -p /etc/nginx/session-ticket-keys mkdir -p /etc/nginx/session-ticket-keys
mount -t ramfs -o mode=700 ramfs /etc/nginx/session-ticket-keys mount -t tmpfs -o size=1M,mode=700,noswap tmpfs /etc/nginx/session-ticket-keys
cd /etc/nginx/session-ticket-keys cd /etc/nginx/session-ticket-keys