Created
March 28, 2017 08:46
-
-
Save bjdixon/9d10c9b28d1113271f3dcc7611200b0e to your computer and use it in GitHub Desktop.
nginx conf location block when using react router
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
location / { | |
try_files $uri $uri/ /index.html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment