From 3f1b5d1cb8860cb40de3aba8fc5431a33df0827b Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Thu, 6 Nov 2025 08:27:30 -0500 Subject: [PATCH] Fix static file permissions for nginx access - Set ownership of static/ directory to www-data:www-data - This resolves 'Permission denied' errors when nginx tries to serve static files like the logo --- ubuntu-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ubuntu-install.sh b/ubuntu-install.sh index 7972901..6c7d239 100644 --- a/ubuntu-install.sh +++ b/ubuntu-install.sh @@ -85,6 +85,8 @@ fi log_info "Setting permissions for static files..." chmod -R 755 static/ find static/ -type f -exec chmod 644 {} \; +# Ensure nginx can access static files +sudo chown -R www-data:www-data static/ # Create Python virtual environment log_info "Creating Python virtual environment..."