From 84b2193808ee1fdf4b42c71e3a4df530eb52a4e9 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 28 Jun 2024 12:44:31 -0400 Subject: [PATCH] switch to noswap tmpfs from ramfs for session ticket keys --- nginx-create-session-ticket-keys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx-create-session-ticket-keys b/nginx-create-session-ticket-keys index ea9722c..f4bd587 100755 --- a/nginx-create-session-ticket-keys +++ b/nginx-create-session-ticket-keys @@ -5,7 +5,7 @@ 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 +mount -t tmpfs -o size=1M,mode=700,noswap tmpfs /etc/nginx/session-ticket-keys cd /etc/nginx/session-ticket-keys