Hello! 🙂 I am hosting the backend and admin on a hetzner cloud server and have a custom domain. when I run yarn dev this http://49.13.144.48:7001/login works perfectly but with my custom domain I get a Cannot Get error 😦 what could be the problem? I added a few screenshots and my nginx config.
#Cannot GET /login when using custom domain for admin
1 messages · Page 1 of 1 (latest)
Like every project, when you're doing deployment you need to build and run your app in production mode. Not dev mode
if I deploy it with yarn start I get the same error
I did this: medusa-backend# yarn build
yarn run v1.22.22
$ cross-env npm run clean && npm run build:server && npm run build:admin
and then: usa-backend# yarn start
yarn run v1.22.22
$ npm run build && medusa migrations run && medusa start
Works for me: https://queerhavenshop.me/app/login