hi,
An error 404 that means the path is not found in the server. So that means your nginx is redirecting incorrectly.
Can you please give me your nginx configuration? I will help to review and give you some advices to adjust at your side.
If you can pass you issue, then you can award me to win the task then.
Thanks,
--T