all repos — flynet @ 250a266770b37b1e75a5ef4bfc611aa8a9d6f961

ersatz CDN on fly.io

fix go vanity setup, handle www-stripping

Alin
commit

250a266770b37b1e75a5ef4bfc611aa8a9d6f961

parent

9e8083e56923c20b5a9dd80c86b21738ae1a9c29

1 file changed, 21 insertions(+), 1 deletion(-)

changed files
M CaddyfileCaddyfile
@@ -85,7 +85,7 @@ flynet-butterfly-1123.fly.dev {
respond "Hello, world!" } -alanpearce.eu, alin.ovh, www.alin.ovh, www.alanpearce.eu { +alanpearce.eu { import cache goatcounter {
@@ -97,6 +97,26 @@
reverse_proxy https://homestead-homestead488.danubedata.run { header_up Host {hostport} } +} + +alin.ovh { + @notgo { + not query go-get=1 + not path /style.css + } + + handle @notgo { + redir https://alanpearce.eu{uri} + } + + reverse_proxy https://homestead-homestead488.danubedata.run { + header_up X-Forwarded-Host alanpearce.eu + header_up Host alanpearce.eu + } +} + +www.alin.ovh, www.alanpearce.eu { + redir https://alanpearce.eu{uri} permanent } uptime.alin.ovh,