I had configured lumen in 80 port, but when I configured 443 port for https, the routes could not working any more except index. And I created a test.php file in /public, I can visit it through https://site.com/test.php. Below is my site.conf file:
What does it come up with when you try visit a URI defined in your routes?
server block looks fine. I would opt for using a different block for redirecting http->https though since the if will fire on every single request (bad).