Skip to content

Instantly share code, notes, and snippets.

@bjdixon
Created March 28, 2017 08:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjdixon/9d10c9b28d1113271f3dcc7611200b0e to your computer and use it in GitHub Desktop.
Save bjdixon/9d10c9b28d1113271f3dcc7611200b0e to your computer and use it in GitHub Desktop.
nginx conf location block when using react router
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