Clean up some domains
This commit is contained in:
parent
4c641ef08d
commit
34131debb5
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,5 +1 @@
|
|||||||
email
|
email
|
||||||
|
|
||||||
errors/img/
|
|
||||||
|
|
||||||
conf.d/goaccess.boba.best
|
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
# vim: ft=caddyfile
|
|
||||||
|
|
||||||
errors.boba.best {
|
|
||||||
encode zstd gzip
|
|
||||||
import hsts
|
|
||||||
root * /etc/caddy/errors/img
|
|
||||||
file_server
|
|
||||||
import basicerrors
|
|
||||||
}
|
|
@ -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
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
# vim: ft=caddyfile
|
|
||||||
|
|
||||||
talkyard.bbaovanc.com {
|
|
||||||
encode zstd gzip
|
|
||||||
import hsts
|
|
||||||
|
|
||||||
reverse_proxy localhost:88
|
|
||||||
|
|
||||||
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" -}}
|
{{ $text := placeholder "http.error.status_text" -}}
|
||||||
{{ $full_text := printf "%s %s" (placeholder "http.error.status_code") (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" -}}
|
{{ $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>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{ $full_text }}</title>
|
<title>{{ $full_text }}</title>
|
||||||
|
Loading…
Reference in New Issue
Block a user