chore: project scaffolding — Docker, nginx, dependencies

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-03 21:58:58 +05:00
parent ebd86cd6e8
commit 296538b0ea
7 changed files with 303 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
upstream backend {
server app:8000;
}
server {
listen 80;
server_name _;
client_max_body_size 2G;
location /api/ {
proxy_pass http://backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 300s;
}
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
}