title: Google cloud, how to rewrite load balancer host & path for bucket service so I don't have to nest my files under, example: /files/public?
body: <p>I know there are a few threads on this issue out there but all of them have answers from 2019 where other behaviours and features were available, for example, at the time you couldn't even add a bucket as a backend service on a load balancer.</p>
  <p>I'm trying to serve files from bucket A from mydomain.com/storage/public and bucket B from mydomain.com/storage/private which isn't an issue.</p>
  <p>What I haven't successfully done is to rewrite the path so that I don't have to add all my files in bucket A nested in the folder <code>/storage/public</code> and for bucket B in <code>/storage/private</code> -- but rather just serve them from the root of the bucket.</p>
  <p>I have added the following path &amp; host rewrite rule that doesn't work:</p>
  <pre><code>host:
  path: /*
  </code></pre>
  <p>I'm assuming this tells it to rewrite mydomain.com/storage/public/myfile.png to mydomain.com/myfile.png, but again this doesn't seem to work.</p>