When some user try to login in the forum, an error is shown: The requested resource was not found.
The cool thing is that flarum actually logs in the user. When the user reload the page (by pressing F5, for example), the user has an active session in the forum and all works fine.
This is what i'm getting on chrome's console with debug mode enabled
(All the same when I login with username or an email, different API params, but the same 404)
Maybe the API fails because you are not yet fully logged in? I am really intrigued, and I cant fix this
I'm using nginx with the lastest config file provided. A few weeks ago I was using Caddy Server and I had the same problem in the login.
Here's my flarum info

Thank you