Clean up a few more domains

This commit is contained in:
BBaoVanC 2022-05-23 03:06:20 -05:00
parent 024579aefe
commit 3279951295
5 changed files with 1 additions and 27 deletions

2
.gitignore vendored
View File

@ -1,3 +1 @@
email
errors/img

View File

@ -1,9 +0,0 @@
# vim: ft=caddyfile
errors.bbaovanc.com {
encode zstd gzip
import hsts
root * /etc/caddy/errors/img
file_server
import basicerrors
}

View File

@ -1,10 +0,0 @@
# vim: ft=caddyfile
lists.bbaovanc.com {
encode zstd gzip
import hsts
reverse_proxy localhost:85
import basicerrors
}

View File

@ -1,5 +0,0 @@
#!/bin/sh -x
mkdir -p img/
cd img/
curl https://http.cat | grep -oE '[0-9]{3}\.jpg' | sort | uniq | parallel $@ 'wget -q https://http.cat/{} && echo "DL {}"'

View File

@ -2,7 +2,7 @@
{{ $text := placeholder "http.error.status_text" -}}
{{ $full_text := printf "%s %s" (placeholder "http.error.status_code") (placeholder "http.error.status_text") -}}
{{ $host := placeholder "http.request.host" -}}
{{ $img_url := (printf "https://errors.bbaovanc.com/%s.jpg" $code) -}}
{{ $img_url := (printf "https://http.cat/%s.jpg" $code) -}}
<html>
<head>
<title>{{ $full_text }}</title>