DEV Community

Krishna Gupta
Krishna Gupta

Posted on

Nginx Configuration for React Route Issue

Include try_files in your nginx.conf file to resolve this issue.

location / {
      try_files $uri $uri/ /index.html;
    }
Enter fullscreen mode Exit fullscreen mode

Top comments (0)