worker_processes auto; events { worker_connections 1024; } http { server { listen 80; # Serve DWG files location / { root /app; autoindex on; # Enable file browsing autoindex_exact_size off; autoindex_localtime on; } # Reverse proxy to Flask API for manifest location /api/ { proxy_pass http://127.0.0.1:5000/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } }