I'm trying to deploy the back office application to a server. Here is what I already did :
- builded the back office
- ran the
dist/server.jsfile with pm2 on port3000 - setup a reverse proxy with a CaddyFile :
admin.example.com {
reverse_proxy 127.0.0.1:3000
}
However hitting admin.example.com returns a 302 to /admin (great news right ?). But the admin route gives me a 404 Cannot GET /admin . Do you have any idea of what is happening ?