feat: production stack (gunicorn+nginx) and infra product URL import

This commit is contained in:
2026-04-14 21:20:11 +00:00
parent 69684b59cf
commit f74298e3fd
6 changed files with 176 additions and 12 deletions

17
nginx.conf Normal file
View File

@@ -0,0 +1,17 @@
server {
listen 80;
server_name _;
client_max_body_size 20m;
location / {
proxy_pass http://app:8000;
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_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 5s;
proxy_send_timeout 60s;
proxy_read_timeout 60s;
}
}