diff options
Diffstat (limited to 'linkshorter/nginx.conf')
| -rw-r--r-- | linkshorter/nginx.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linkshorter/nginx.conf b/linkshorter/nginx.conf new file mode 100644 index 0000000..a4af9cb --- /dev/null +++ b/linkshorter/nginx.conf @@ -0,0 +1,5 @@ +location = / {} + +location / { + rewrite ^/(.*) /goto.php?short=$1 last; +} |
