Password set #1

Closed
opened 2026-11-06 07:59:51 +00:00 by tomas · 1 comment
Owner

Nefunkční link na nastavení hesla za pomoci artisan user:create

Nefunkční link na nastavení hesla za pomoci `artisan user:create`
Author
Owner

Not a code bug: the link from user:create was correct, but the production domains were misrouted in Dokploy.

  • household.nestplan.cz pointed at the backend service, so the SPA route /set-password got Laravel's 404.
  • household-api.nestplan.cz had no router in Traefik.

Fixed in Dokploy by routing household.nestplan.cz to frontend (port 80) and household-api.nestplan.cz to backend (port 8080), as listed in compose.prod.yaml. FRONTEND_URL, APP_URL and DNS were already correct.

Verified from outside: /set-password and /login serve the app, /config.json names the API domain, and the API allows the frontend's origin in CORS. No code changes.

Not a code bug: the link from `user:create` was correct, but the production domains were misrouted in Dokploy. - `household.nestplan.cz` pointed at the `backend` service, so the SPA route `/set-password` got Laravel's 404. - `household-api.nestplan.cz` had no router in Traefik. Fixed in Dokploy by routing `household.nestplan.cz` to `frontend` (port 80) and `household-api.nestplan.cz` to `backend` (port 8080), as listed in `compose.prod.yaml`. `FRONTEND_URL`, `APP_URL` and DNS were already correct. Verified from outside: `/set-password` and `/login` serve the app, `/config.json` names the API domain, and the API allows the frontend's origin in CORS. No code changes.
tomas closed this issue 2026-11-06 15:38:05 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tomas/household#1
No description provided.