Clean up a few more domains
This commit is contained in:
parent
024579aefe
commit
3279951295
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1 @@
|
||||
email
|
||||
|
||||
errors/img
|
||||
|
@ -1,9 +0,0 @@
|
||||
# vim: ft=caddyfile
|
||||
|
||||
errors.bbaovanc.com {
|
||||
encode zstd gzip
|
||||
import hsts
|
||||
root * /etc/caddy/errors/img
|
||||
file_server
|
||||
import basicerrors
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
# vim: ft=caddyfile
|
||||
|
||||
lists.bbaovanc.com {
|
||||
encode zstd gzip
|
||||
import hsts
|
||||
|
||||
reverse_proxy localhost:85
|
||||
|
||||
import basicerrors
|
||||
}
|
@ -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 {}"'
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user