D
Dokploy2mo ago
Flain

How to fix NGINX 404 error

Hello, I’m trying to deploy my client ( poor react ) im using nixpacks and I want nginx to give index.html on every route but instead nginx do this: 2025/03/28 16:36:25 [error] 30#30: *9 open() "/usr/share/nginx/html/auth" failed (2: No such file or directory), client: 10.0.1.4, server: localhost, request: "GET /auth HTTP/1.1", host: "fchat-client-zjvy9l-f84d7b-xx-xxx-xxx-xx.traefik.me" this is error log, nginx trying to get auth inside html folder. And there is no way to edit nginx config?
No description
No description
No description
No description
3 Replies
Flain
FlainOP2mo ago
bump
designorant
designorant2mo ago
Why are you looking at *.traefik.me domain when you have syncmate.live set up? It works: https://syncmate.live/ Nice looking sign up form btw!
Flain
FlainOP2mo ago
It’s just old screen/log , and it works cuz it’s root path, if you refresh page on syncmate/auth u get nginx error 404

Did you find this page helpful?