Created
October 15, 2018 00:21
-
-
Save hemel-cse/0e7276b1acf7c86013aa28a97c08a0c8 to your computer and use it in GitHub Desktop.
Custom 404 error not found page for PM2 with react SPA serving with nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As per code: https://github.com/Unitech/pm2/blob/master/lib/API/Serve.js#L225 | |
Just need an additional page name 404.html in the build folder. | |
As create a 404.html page and design it and the pm2 will serve it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment