fix: downgrade sharp to 0.32.6 for older CPU compatibility, add /uploads-resized/ to nginx config

This commit is contained in:
Kirill
2026-05-15 19:06:22 +05:00
parent 1739f52ad3
commit 8b79c01985
3 changed files with 635 additions and 516 deletions
+9
View File
@@ -85,6 +85,15 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /uploads-resized/ {
client_max_body_size 250m;
proxy_pass http://127.0.0.1:3333;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location / {
try_files $uri $uri/ /index.html;
}