DokployD
Dokploy10mo ago
5 replies
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?
IMG_3762.jpg
IMG_3763.jpg
IMG_3761.jpg
IMG_3764.jpg
Was this page helpful?