v1.0.134: ALL uploads through VM — /upload proxy avoids Lucee multipart crash

This commit is contained in:
2026-06-23 09:04:47 +04:00
parent 9c7a5a9975
commit 21914d1763
3 changed files with 54 additions and 2 deletions
+9
View File
@@ -43,6 +43,15 @@ server {
add_header Access-Control-Allow-Methods "GET, OPTIONS" always;
}
location /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 204; }
proxy_pass http://127.0.0.1:8766;
client_max_body_size 100m;
}
location /unzip-upload {
if ($request_method = OPTIONS) {
add_header Access-Control-Allow-Origin "*";