Glad we could help. You should fix your VirtualHost though
Here's a thread with some examples to avoid redirecting the acme challenge. Your redirect permanent is best avoided. And, it's the wrong format anyway. You would need a trailing slash on the target when redirecting /