fix(plane): fix image upload and curl flag

- nginx: add exact-match location for /uploads (no trailing slash)
  to handle S3 presigned POST URLs from Plane's storage backend
- ct: fix curl -s to curl -fsSL for consistency with other scripts
This commit is contained in:
MickLesk
2026-04-04 22:56:36 +02:00
parent f344b69617
commit 24dd2670ac
2 changed files with 8 additions and 1 deletions

View File

@@ -334,6 +334,13 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location = /uploads {
proxy_pass http://plane-minio;
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 /uploads/ {
proxy_pass http://plane-minio;
proxy_set_header Host $host;