Skip to content

Instantly share code, notes, and snippets.

@blt
Created July 28, 2011 17:44
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 blt/1112081 to your computer and use it in GitHub Desktop.
Save blt/1112081 to your computer and use it in GitHub Desktop.
location ~* /projects/(?P<pname>[a-Z0-9]*)/(?P<commit>[a-Z0-9]*)/[a-Z]*\.php {
# Rewrite $uri
rewrite ^ /$pname/build/$commit/public/index.php break;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment