Checkout Page For Second Storefront Returns A 404

Hi guys,

I have 2 storefronts for 2 different countries, they have the same layout and the same checkout settings.
Specifically in settings > checkout (photo1= store1, photo2 = store2)

and in layout > checkout > cog icon (photo1= store1, photo2 = store2).

The first store's checkout works fine while the second returns a 404 page. Could it be a problem with URLS? (url picture 1 = store 1, url picture 2 = store 2).

Thank you very much for any help you could give me.

Screenshot 2021-03-30 at 16.24.15.png

Screenshot 2021-03-30 at 16.24.33.png

Screenshot 2021-03-30 at 16.25.00.png

Screenshot 2021-03-30 at 16.25.20.png

Screenshot 2021-03-30 at 16.29.28.png

Screenshot 2021-03-30 at 16.30.32.png

Did you get a solution on this? We've the same issue on nginx

The main dispatches with SEO rewrites work correctly, but index.php?dispatch= on the sub folders don't work