Created
August 17, 2017 10:38
-
-
Save sergeioff/9c0dae71eb3eb624edd232a829d43ddb to your computer and use it in GitHub Desktop.
generic nginx configuration
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 ~ /assets/(.*) { | |
try_files $uri $uri/ /ui/assets/$1; | |
} | |
location ~ (([^\/]+)+(\.js|svg|eot|ico|woff2|ttf|woff|map$)) { | |
try_files $uri $uri/ /ui/$1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment