I'm interested in using Shortly, a project by Brett Terpstra, to shorten URLs to use one of my custom domains. The installation instructions are here and I was quickly over my head.
Terpstra says this can be installed as an Apache app or under Nginx. I presume Nginx is the appropriate choice for installation here, but I'm not sure which Nginx option to chose. At some point I need to add
server {
location / {
rewrite ^/(.*)$ /index.php?q=$1;
}
}
To my app's config.php
file and then initialize the included MySQL database to save the link redirects.
Before I get started digging into this, could I ask for some guidance. For a start, is this do-able here?
Thanks, as always, for any help.
-- Robert