Hello,
I have a 404 error (not found) when i refreshing my url on all endpoints for example https://website.com/publication/. If i refreshing on my base url https://website.com/, it’s ok.
I have a dockerized React app with vite.js, i’m building my app with vite build
.
nginx for serving my app.
this is my dockerfile :
and my very simple nginx.conf:
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
}
koyeb is correctly setup for docker deploy (private registry):
port 80; Protocol : HTTP; Path: /
Thank you !