Clean up some domains

This commit is contained in:
BBaoVanC 2022-05-23 03:01:37 -05:00
parent 4c641ef08d
commit 34131debb5
6 changed files with 1 additions and 42 deletions

4
.gitignore vendored
View File

@ -1,5 +1 @@
email
errors/img/
conf.d/goaccess.boba.best

View File

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

View File

@ -1,13 +0,0 @@
# vim: ft=caddyfile
hetz.boba.best {
import hsts
header Access-Control-Allow-Origin *
root * /var/www/hetz.boba.best/public
file_server {
precompressed br gzip
}
import basicerrors
}

View File

@ -1,10 +0,0 @@
# vim: ft=caddyfile
talkyard.bbaovanc.com {
encode zstd gzip
import hsts
reverse_proxy localhost:88
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.boba.best/%s.jpg" $code) -}}
{{ $img_url := (printf "https://http.cat/%s.jpg" $code) -}}
<html>
<head>
<title>{{ $full_text }}</title>