You didn’t mention you tested something on a real domain, you just paste an example.com config and said it is working for you - that’s why it was not accurate at that moment.
Nevertheless, there’s nothing in logs as the issue didn’t broke anything, it just redirects to the wrong path, so in the logs there are just 302 redirects to the wrong path, nothing more nothing less, no errors.