Created
May 2, 2018 01:58
-
-
Save ncole458/1198deaedfc4673487ce5abc35182a4b to your computer and use it in GitHub Desktop.
React app breaks on refresh NGINX
This file contains hidden or 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
# update the location blocks try_files in your /sites-available/default | |
location / { | |
try_files $uri $uri/ /index.html$is_args$args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment