Files
Warracker/ping.html
sassanix c267517de2 Fixed uploads to load the invoices
1. **Simplified nginx configuration:**
   - Changed from `root /data` back to `alias /data/uploads/` which is the correct way to map `/uploads/` to `/data/uploads/`
   - Removed potentially conflicting location blocks
   - Fixed the error handling to not redirect upload 404s to the index page

2. **Improved startup script:**
   - Added checking and reporting of directory permissions
   - Added explicit chmod during startup

3. **Simplified Flask route:**
   - Removed all the complex debugging code
   - Returned to a simple `send_from_directory` call

4. **Added a basic test file:**
   - Created ping.html to test basic nginx functionality
2025-03-03 07:59:44 -04:00

10 lines
194 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Nginx Test</title>
</head>
<body>
<h1>Nginx is working</h1>
<p>If you can see this, nginx is serving static files correctly.</p>
</body>
</html>