Error: The requested URL /index.php/login/flow was not found on this server.

I have Nethserver 7.6 server installed locally and with Nextcloud server enabled. Then I installed the Nextcloud client on my windows and when trying to configure the client I get this error: The requested URL /index.php/login/flow was not found on this server.