The solution was to add one more line at the end.
I'm still learning and not yet confident enough to write configs on my own, but as I gain more experience, I’ll definitely keep the advice in mind about using simpler and more robust configurations.
Thank you!