diff --git a/shortener/README.md b/shortener/README.md index 155d5f2..dcd0469 100644 --- a/shortener/README.md +++ b/shortener/README.md @@ -14,11 +14,7 @@ server { } location / { - try_files @ashdotley; - } - - location @ashdotley { - rewrite ^/(.*) /index.php?id=$1&$args last; + rewrite ^/(.*) /index.php?l=$1&$args; } location ~ ^/index.php$ { diff --git a/shortener/index.php b/shortener/index.php index 415fa57..be7cca2 100644 --- a/shortener/index.php +++ b/shortener/index.php @@ -1,7 +1,7 @@