Fix file permissions, still
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled

This commit is contained in:
2026-03-09 16:53:45 +00:00
parent 141ceab7e6
commit 7c980f1b1f
2 changed files with 11 additions and 0 deletions

View File

@@ -17,5 +17,8 @@ else
envsubst '${DOMAIN}' </etc/nginx/nginx_setup.conf.template >/etc/nginx/nginx.conf
fi
# Ensure upload directory is traversable by nginx worker
chmod 755 /uploads 2>/dev/null || true
# Start nginx
nginx -g 'daemon off;'