HF RL Explorer

Fix Nginx Configuration for React Router

Fix Nginx Configuration for React Router: a task in Terminal-Lego-15k (Harbor dataset). You need to configure Nginx to properly serve a React application that uses React Router. Currently, when accessing routes like /login directly in the browser, Nginx returns a 404 error because it's trying to…

The task

You need to configure Nginx to properly serve a React application that uses React Router. Currently, when accessing routes like `/login` directly in the browser, Nginx returns a 404 error because it's trying to find a physical file at that path instead of serving the React app's `index.html` file.

Part of PrimeIntellect/Terminal-Lego-15k.