v1.0.118: ZIP upload — unzip on VM, add files to queue individually, flat structure only

This commit is contained in:
2026-06-23 08:01:04 +04:00
parent 0944a4c9d1
commit ebe35dce42
3 changed files with 136 additions and 5 deletions
+9
View File
@@ -43,6 +43,15 @@ server {
add_header Access-Control-Allow-Methods "GET, OPTIONS" always;
}
location /unzip-upload {
add_header Access-Control-Allow-Origin "*";
add_header Access-Control-Allow-Methods "POST, OPTIONS";
add_header Access-Control-Allow-Headers "*";
if ($request_method = OPTIONS) { return 200; }
proxy_pass http://127.0.0.1:8766;
client_max_body_size 100m;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/contracts.kube5s.ru/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/contracts.kube5s.ru/privkey.pem; # managed by Certbot