frontend server on localhost 3000
payload on localhost 5000
I have nginx, I redirected api route and admin route (And everything inside of them) to 5000, reverse proxy.
localhost/admin correctly redirects to localhost/admin/login
The login screen works, once I log in there is a blank screen, checked the console and saw that
localhost:5000/api/access fetch request has errors
When I properly go to localhost:5000/admin it works
localhost/admin doesnt, payload is not working with reverse proxies.