Skip to content

Instantly share code, notes, and snippets.

@nini
Created November 26, 2015 14:12
Show Gist options
  • Save nini/e0cd02ef7a82d27c6435 to your computer and use it in GitHub Desktop.
Save nini/e0cd02ef7a82d27c6435 to your computer and use it in GitHub Desktop.
set $target_path /vagrant/public;
if (!-d $target_path) {
set $target_path /vagrant/public;
}
root $target_path;
location /css/ {
root /vagrant;
try_files /ecommerce/config/assets/$uri /ecommerce/config/assets/$uri/ /public/$uri /public/$uri/ @rewrite;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment