Initial project setup with dependencies and deployment config

This commit is contained in:
Walusimbi Silver
2026-03-17 13:02:13 +03:00
commit 2981605394
6 changed files with 2183 additions and 0 deletions

24
nginx.conf Normal file
View File

@@ -0,0 +1,24 @@
# /opt/infrastructure/nginx/sites/imgforge.conf
server {
server_name imgforge.silverwal.com;
client_max_body_size 25M;
location / {
proxy_pass http://127.0.0.1:5100;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
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_cache_bypass $http_upgrade;
# WebSocket timeout (keep alive for progress streaming)
proxy_read_timeout 300s;
proxy_send_timeout 300s;
}
listen 80;
}