diff --git a/start.sh b/start.sh
index f0e468b..f9b3017 100644
--- a/start.sh
+++ b/start.sh
@@ -3,7 +3,7 @@
 set -eu
 
 # Create necessary directories
-mkdir -p /app/data/config /app/data/storage /app/data/nginx /app/data/nginx/tmp /app/data/nginx/cache /app/data/nginx/client_body /app/data/nginx/proxy /app/data/nginx/fastcgi /app/data/nginx/uwsgi /app/data/nginx/scgi
+mkdir -p /app/data/config /app/data/storage /app/data/nginx/tmp
 
 echo "==> DEBUG: Full repository structure at /app/code"
 find /app/code -type d -maxdepth 3 -not -path "*/node_modules/*" -not -path "*/\.*" | sort
@@ -122,13 +122,6 @@ error_log stderr;
 daemon off;
 pid /app/data/nginx/nginx.pid;
 
-# Set all temp paths to writable locations
-client_body_temp_path /app/data/nginx/client_body;
-proxy_temp_path /app/data/nginx/proxy;
-fastcgi_temp_path /app/data/nginx/fastcgi;
-uwsgi_temp_path /app/data/nginx/uwsgi;
-scgi_temp_path /app/data/nginx/scgi;
-
 events {
     worker_connections 1024;
 }
@@ -140,12 +133,12 @@ http {
     sendfile on;
     keepalive_timeout 65;
     
-    # Use writable temp directory
-    client_body_temp_path /app/data/nginx/client_body;
-    proxy_temp_path /app/data/nginx/proxy;
-    fastcgi_temp_path /app/data/nginx/fastcgi;
-    uwsgi_temp_path /app/data/nginx/uwsgi;
-    scgi_temp_path /app/data/nginx/scgi;
+    # Define temp file paths
+    client_body_temp_path /app/data/nginx/tmp;
+    proxy_temp_path /app/data/nginx/tmp;
+    fastcgi_temp_path /app/data/nginx/tmp;
+    uwsgi_temp_path /app/data/nginx/tmp;
+    scgi_temp_path /app/data/nginx/tmp;
     
     server {
         listen 8080;