Nginx Setup With Frontend And Backend

I have a project with a frontend and a backend, which runs on nginx. The frontend is found at example.localhost, and is working as expected. I would like to have the backend at example.localhost/admin, but I just don’t get it working. I have been struggling some time with different locations setups…