-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using "Server" HTTP header is not a reliable mechanism for detecting S3 implementation #26
Comments
I started to dig around a bit deeper and found here the RFC which specifies the
It explicitly mentions:
So I think Cloudflare is not complying to the RFC here. @LeagueRaINi Can you check if your can disable this behaviour in your Cloudfare setup? |
not sure where i would change that in the cloudflare control panel to be honest, why not allow overwriting the s3 server impl in the config? |
Oh yeah, thats probably the simplest solution. I will implement this. |
Hi @LeagueRaINi I've added some new settings: GOSE_IMPLEMENTATION = MinIO which implies the following settings which disable unsupported features by MinIO: GOSE_SETUP_CORS = false
GOSE_SETUP_ABORT_INCOMPLETE_UPLOADS = 0 I havn`t tested the code so feedback would be appreciated :) |
looks like everything is working now thanks :) |
got yet another issue i'm afraid, since i have my domain routed through cloudflare gose now thinks i'm using cloudflare s3 and not minio
Originally posted by @LeagueRaINi in #23 (comment)
The text was updated successfully, but these errors were encountered: