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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user