'Symfony how to NOT route public folder

I have a Symfony web app. As per default, all site calls are routed by Symfony. However, when I want to call for example mysite.com/public/example.img and retreive the image, it says no route found for get/public/xy. That makes sense since it also tries to route the public route, but how can I disable that an just display the image?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source