Primo Caricamento

This commit is contained in:
2026-01-10 13:21:36 +01:00
commit a36973ae12
10 changed files with 630 additions and 0 deletions

27
nginx/default.conf Normal file
View File

@@ -0,0 +1,27 @@
server {
listen 80;
server_name _;
# Serve static UI
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://api:5000/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location /downloads/ {
alias /downloads/;
autoindex on;
types {
application/octet-stream bin;
}
add_header Content-Disposition "attachment";
}
location / {
try_files $uri $uri/ /index.html;
}
}