Fix nginx read-only filesystem issues

This commit is contained in:
Andreas Dueren
2025-06-20 10:09:39 -06:00
parent 09ad85510f
commit 16a51b8c61
3 changed files with 9 additions and 9 deletions

View File

@ -55,6 +55,9 @@ if [[ ! -f "/app/data/root_credentials" ]]; then
chmod 600 /app/data/root_credentials
fi
echo "==> Creating nginx temp directories"
mkdir -p /tmp/nginx/body /tmp/nginx/fastcgi /tmp/nginx/proxy /tmp/nginx/scgi /tmp/nginx/uwsgi
echo "==> Starting nginx"
nginx -t
nginx