Skip to content

ezylot/snippget

Repository files navigation

snippget

Code Climate Build Status

When using nginx configure the location to something like that (i use the subdirectory "snippets"):

location /snippets/ {
  rewrite "snippets/tests.*" /snippets/index.php last;
  rewrite "snippets/api/([a-zA-Z0-9]{18})/(.+)" /snippets/api/index.php?key=$1&request=$2 last;
  rewrite "snippets/api/([a-zA-Z0-9]{18})/?" /snippets/api/index.php?key=$1&request= last;
  rewrite "snippets/api/?" /snippets/api/index.php last;
  #rewrite (.*) /snippets/index.php last;

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published