What will be the ideal scenerio for the nginx for prodcution server

We are creating an app and using the Nginx server proxied through Cloudflare. What are the requirements for nginx?

I have created an app in the remix with Shopify cli and pushed the code to the server, but when I pushed the code to the server and tried to install the app I am getting

404 There’s no page at this address
Check the URL and try again, or use the search bar to find what you need.

After these urls

GET /?hmac=&host=&shop=shaileshteststore.myshopify.com&timestamp=1739178656 302 - - 8.126 ms

GET /app?hmac=&host=&shop=shaileshteststore.myshopify.com&timestamp=1739178656 302 - - 7.754 ms

Nothing is happening