f7825df729c5851ea49724e8d6d9dc310addd960 — Benjamin Lowry 1 year, 5 months ago 931a7a7
Fix readme formatting
1 files changed, 4 insertions(+), 0 deletions(-)

M README.md => README.md +4 -0
@@ 13,9 13,13 @@ sudo make install
$ sourcehut-vanity blowry
Replace my username with yours, and enter an alternative address to bind to if desired. Redirects will be served like this:

localhost:8080/sourcehut-vanity redirects to https://git.sr.ht/~blowry/sourchut-vanity

localhost:8080/sourcehut-vanity/README.md redirects to https://git.sr.ht/~blowry/sourcehut-vanity/tree/master/README.md

localhost:8080/sourcehut-vanity?go-get=1 returns an HTML page with meta tags so go get can find the correct repository

There's no HTTPS support, so I'd recommend putting this in front of a reverse proxy like nginx. A sample systemd service file is included in the repository as well.