using minio proxied on a standard port
I set up minio behind a nginx reverse proxy on port 443 (I did not want to use docker for this.) I set S3_ENDPOINT=https://myserver.com
and S3_PORT=443
. When generating preauthorized URLs for uploaded file access, objectStorage composes the URL with an explicit port even if the port is a standard port; but it gets stripped in other layers (not sure where) and we get SignatureDoesNotMatch when trying to access the resulting preauthorized URL. I tried setting const url=endpoint
, and everything works as intended. I suggest only doing the composition for non-standard ports.