We have a single-page web application deployed on a GCP bucket with a load balancer in front of it.
All URLs such as example.com/login
should be rewritten as example.com/#/login
. Without being rewritten the default behaviour is to go fetch some login.html
but we only have and need index.html
, the application handles the routing.
How to configure the load-balancer to achieve such a task?