React nginx zwraca 404 po ponownym ładowaniu

Change location in Nginx to this code below

location / {
 try_files $uri /index.html;
}
Almabek