Prestashop and 404 on frontpage

Currently I'm supporting my brother-in-law in hosting a shop. As one of three possible open source solutions I've decided to test Prestashop. The "installation" itself - besides the fact that it'll only use docker for dev purposes (as far as I know) - was relatively easy but it has come to the point that every pages is returning a 404 when clicking on articles or any link which points to a page other than the frontpage. After googling I stumble across https://github.com/PrestaShop/PrestaShop/issues/20999 and the solution is to add this to the default nginx config for the shop

    location / {
        #root   /var/www/presta.local/html;
        index  index.php;
        try_files $uri $uri/ /index.php$is_args$args;
    }

And suddenly everything works as expected :).

PS: and don't forget to rename the admin folder and change the name in the nginx conf ;)