grgr.me

latest commits to https://grgr.me/
Log | Files | Refs

commit 75b2e3834f3ba38ec0c434eee0be9b34b366f021
parent 24eb993cf6fde04e17e556cc1733db46dfdb8488
Author: corndog <cauchyn@firemail.cc>
Date:   Sat, 29 Sep 2018 16:12:16 -0700

Make use of import directives in Caddyfile

Diffstat:
.gitignore | 1+
Caddyfile | 21+++------------------
Redirects | 31+++++++++++++++++++++++++++++++
3 files changed, 35 insertions(+), 18 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1 +1,2 @@ +Secret out/ diff --git a/Caddyfile b/Caddyfile @@ -1,14 +1,8 @@ +import Redirects + grgr.me { + import Secret root ./out - redir 303 { - /PGP /pgp.txt - /pgp /pgp.txt - /fizzbuzz/ https://gitlab.com/corndog/fizzbuzz/tree/master - /galois/ https://gitlab.com/corndog/galois/tree/master - /ksa/ https://github.com/Koushien/keyboard-shortcut-api - /tri/ https://github.com/cmcaine/tridactyl/tree/master - /suguri/ https://gitlab.com/aos2 - } browse /sits/releases ext .html .txt header / { @@ -19,15 +13,6 @@ grgr.me { log / .log/access.log "{combined}" { rotate { } } - git git@gitlab.com:corndog/grgr.me.git ../ { - key /home/ervin/.ssh/id_dropbear - hook /uguu - then gostatic -f /home/ervin/grgr.me/config - } minify gzip } - -www.grgr.me { - redir https://grgr.me{uri} -} diff --git a/Redirects b/Redirects @@ -0,0 +1,31 @@ +www.grgr.me { + redir https://grgr.me{uri} +} + +grgr.me/PGP { + redir / /pgp.txt 303 +} + +grgr.me/pgp { + redir / /pgp.txt 303 +} + +grgr.me/fizzbuzz { + redir / https://gitlab.com/corndog/fizzbuzz/tree/master 303 +} + +grgr.me/galois { + redir / https://gitlab.com/corndog/galois/tree/master 303 +} + +grgr.me/ksa { + redir / https://github.com/Koushien/keyboard-shortcut-api 303 +} + +grgr.me/tri { + redir / https://github.com/cmcaine/tridactyl/tree/master 303 +} + +grgr.me/suguri { + redir / https://github.com/cmcaine/tridactyl/tree/master 303 +}