coala / devops

MIT License
9 stars 39 forks source link

Create a dynamic page for coala shortlinks #4

Open yukiisbored opened 7 years ago

yukiisbored commented 7 years ago

Currently, the "page" for the list of short links is the coala.io configuration file. It would be pretty neat to have a better looking page for this. The main problem for creating something like this is over-complicating it (like for example, using PHP to generate it would result having a full PHP fpm setup).

iakat commented 7 years ago

let's try and find a simple URL shortener backed by a db, then we can do something like

upstream url_shortener {
     server url_shotener;
}
location / {
try_files $uri @url_shortener;
}
yukiisbored commented 7 years ago

https://github.com/cydrobolt/polr looks popular.