inkredo / 91paisa-dashboard

reviewer dashboard
https://betaboard.91paisa.com
0 stars 0 forks source link

Redirect 404s to index.html in Nginx #2

Closed notdrone closed 6 years ago

notdrone commented 6 years ago

Originally reported by: Droan Malik (Bitbucket: notdrone, GitHub: notdrone)


try this: https://stackoverflow.com/questions/19487365/how-do-i-force-redirect-all-404s-or-every-page-whether-invalid-or-not-to-the


notdrone commented 6 years ago

Original comment by Droan Malik (Bitbucket: notdrone, GitHub: notdrone):


resolved by adding

error_page 404 =200 /index.html;

to config