https://discord.cloudflare.com logo
Join DiscordCommunities
Powered by
# r2
  • h

    HardAtWork

    03/23/2023, 9:41 AM
    As in, you can't use an S3-compatible storage provider
  • s

    sabri ben marzouk

    03/23/2023, 9:42 AM
    i m using minio as S3
  • h

    HardAtWork

    03/23/2023, 9:42 AM
    Yeah, I don't think that will work
  • s

    sabri ben marzouk

    03/23/2023, 9:42 AM
    no worries then
  • h

    HardAtWork

    03/23/2023, 9:42 AM
    You can always use Rclone?
  • s

    sabri ben marzouk

    03/23/2023, 9:42 AM
    i'll create a bucket and upload files manually
  • s

    sabri ben marzouk

    03/23/2023, 9:43 AM
    never heared of it
  • s

    sabri ben marzouk

    03/23/2023, 9:43 AM
    i'll give it a look
  • h

    HardAtWork

    03/23/2023, 9:43 AM
    https://rclone.org
  • s

    sabri ben marzouk

    03/23/2023, 9:44 AM
    lovely mate
  • s

    sabri ben marzouk

    03/23/2023, 9:44 AM
    and they do have a Docs section for minio
  • s

    sabri ben marzouk

    03/23/2023, 9:44 AM
    https://rclone.org/s3/#minio
  • s

    sabri ben marzouk

    03/23/2023, 9:45 AM
    thank you very much
  • l

    levifig

    03/23/2023, 9:49 AM
    Sounds about right! ๐Ÿ˜‰ Thank you ๐Ÿ™
  • c

    chientrm

    03/23/2023, 9:59 AM
    From dashboard -> Websites -> Your site -> DNS Settings -> Rules -> Transform rules -> add new rule
  • l

    levifig

    03/23/2023, 10:00 AM
    Yup, that's where I'm at ๐Ÿ˜‰ Thank you ๐Ÿ™
  • c

    chientrm

    03/23/2023, 10:00 AM
  • c

    chientrm

    03/23/2023, 10:00 AM
  • l

    levifig

    03/23/2023, 10:00 AM
    fantastic
  • l

    levifig

    03/23/2023, 10:00 AM
    thank you thank you, @chientrm ๐Ÿ™
  • c

    chientrm

    03/23/2023, 10:00 AM
    replace
    idiocracy.chientrm.site
    with your site ๐Ÿ‘
  • c

    cohan

    03/23/2023, 12:58 PM
    Promise I've been searching before asking, but I might just be being a bit dense. Is there any way to see r2 access logs programmatically? For clarity's sake lets say I've got a /test.txt hosted in R2 -- can I see a list of
    GET /test.txt <size> <referrer> <etc>
    somehow?
  • h

    HardAtWork

    03/23/2023, 12:59 PM
    Via LogPush maybe?
  • c

    cohan

    03/23/2023, 1:00 PM
    I keep bumping into that but don't know if it's what I'm looking for
  • c

    cohan

    03/23/2023, 1:00 PM
    if it is I'll have to use something else to serve files haha, I'm not Enterprise yet
  • h

    HardAtWork

    03/23/2023, 1:03 PM
    Yeah, LogPush is enterprise. You might also be able to use a Firewall rule to log events?
  • c

    cohan

    03/23/2023, 1:03 PM
    I'll just write a worker to ping requests info over to my app, no worries
  • c

    cohan

    03/23/2023, 1:05 PM
    Shame though, I'd just got rid of my worker r2 workaround haha (it was doing CORS for me)
  • c

    cohan

    03/23/2023, 1:14 PM
    Sorry didn't mean to ignore the firewall suggestion, it looks like firewall rules limits log related rules to enterprise too
  • h

    HardAtWork

    03/23/2023, 1:27 PM
    You can always just add an allow rule that matches normal traffic? Should show up as a log
1...957958959...1050Latest