FYI: you can’t. I don’t believe that path mode is supported anymore, which is why that option to force path mode for Discourse is gone. It’s also why the section I originally added to the S3 compatible object storage how-to page now says under caveats and requirements:
- You have Domain Support enabled in the MinIO configuration, for Domain driven bucket URLs. This is mandatory and not an option, there is no path-based support in Discourse for bucket paths.
A long time ago when I first was working with Discourse, they had that option, then it got removed, and I had to stop using MinIO as a backend. NOW, since there’s documentation in MinIO on how to get DNS mode working (i.e. bucket[.]server[.]com paths now like S3 does), it works when you properly configure MinIO. (Thank you to the staff/moderators/system for upping my trust level to edit the wiki itself now).