Created
December 6, 2018 20:51
-
-
Save javierojeda94/dd853f4241a766ec52728856df093271 to your computer and use it in GitHub Desktop.
This nginx conf file allows a user to refresh the angular app without getting into 404 and without the need to use # routes
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?$query_string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment